usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107216 bytes 185776247 (185.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235529 bytes 5933038350 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349202 bytes 64802265 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349202 bytes 64802265 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107245 bytes 185785711 (185.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235571 bytes 5933044372 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349230 bytes 64804241 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349230 bytes 64804241 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107278 bytes 185795548 (185.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235629 bytes 5933051838 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349270 bytes 64807117 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349270 bytes 64807117 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107297 bytes 185800603 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235664 bytes 5933056688 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349286 bytes 64808239 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349286 bytes 64808239 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107327 bytes 185807265 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235713 bytes 5933062749 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349330 bytes 64812533 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349330 bytes 64812533 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107354 bytes 185816672 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235763 bytes 5933069653 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349360 bytes 64814649 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349360 bytes 64814649 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107398 bytes 185826344 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235831 bytes 5933079815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349411 bytes 64818047 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349411 bytes 64818047 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107443 bytes 185839812 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235904 bytes 5933091552 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349450 bytes 64820765 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349450 bytes 64820765 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107460 bytes 185844763 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235943 bytes 5933096813 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349472 bytes 64822353 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349472 bytes 64822353 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107487 bytes 185851025 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4235983 bytes 5933102161 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349498 bytes 64825259 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349498 bytes 64825259 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107515 bytes 185860452 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236034 bytes 5933109164 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349534 bytes 64827841 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349534 bytes 64827841 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107536 bytes 185865639 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236069 bytes 5933114046 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349554 bytes 64829231 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349554 bytes 64829231 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107566 bytes 185875170 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236112 bytes 5933120438 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349582 bytes 64831207 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349582 bytes 64831207 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107584 bytes 185880149 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236155 bytes 5933125872 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349604 bytes 64832795 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349604 bytes 64832795 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107613 bytes 185886685 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236194 bytes 5933131213 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349636 bytes 64836189 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349636 bytes 64836189 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107643 bytes 185896188 (185.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236251 bytes 5933138601 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349672 bytes 64838759 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349672 bytes 64838759 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107689 bytes 185905865 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236312 bytes 5933148248 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349723 bytes 64842157 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349723 bytes 64842157 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107735 bytes 185919337 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236393 bytes 5933160392 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349762 bytes 64844875 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349762 bytes 64844875 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107753 bytes 185924399 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236430 bytes 5933165543 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349784 bytes 64846463 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349784 bytes 64846463 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107780 bytes 185930899 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236476 bytes 5933171250 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349810 bytes 64849381 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349810 bytes 64849381 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107810 bytes 185940426 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236526 bytes 5933178147 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349840 bytes 64851485 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349840 bytes 64851485 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107830 bytes 185945541 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236562 bytes 5933183102 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349864 bytes 64853213 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349864 bytes 64853213 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107864 bytes 185955461 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236618 bytes 5933190416 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349896 bytes 64855457 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349896 bytes 64855457 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107880 bytes 185960336 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236654 bytes 5933195375 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349918 bytes 64857045 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349918 bytes 64857045 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107908 bytes 185966710 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236699 bytes 5933201044 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349950 bytes 64860439 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349950 bytes 64860439 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107937 bytes 185976165 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236752 bytes 5933208127 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 349984 bytes 64862881 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 349984 bytes 64862881 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2107959 bytes 185981472 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236792 bytes 5933213511 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350026 bytes 64865659 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350026 bytes 64865659 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108026 bytes 185999194 (185.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236892 bytes 5933229836 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350078 bytes 64869291 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350078 bytes 64869291 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108042 bytes 186004117 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236923 bytes 5933234646 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350094 bytes 64870413 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350094 bytes 64870413 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) First part ok nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108068 bytes 186010366 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4236976 bytes 5933240937 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350124 bytes 64873657 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350124 bytes 64873657 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108096 bytes 186019813 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237023 bytes 5933247625 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350154 bytes 64875761 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350154 bytes 64875761 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108114 bytes 186024792 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237062 bytes 5933252807 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350176 bytes 64877349 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350176 bytes 64877349 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108145 bytes 186034407 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237113 bytes 5933259711 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350206 bytes 64879465 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350206 bytes 64879465 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108163 bytes 186039425 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237151 bytes 5933264834 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350230 bytes 64881219 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350230 bytes 64881219 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108191 bytes 186045925 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237195 bytes 5933270524 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350266 bytes 64884891 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350266 bytes 64884891 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108222 bytes 186055664 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237249 bytes 5933277730 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350306 bytes 64887779 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350306 bytes 64887779 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108241 bytes 186060695 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237286 bytes 5933282744 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350322 bytes 64888901 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350322 bytes 64888901 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108297 bytes 186074919 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237362 bytes 5933294462 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350387 bytes 64893272 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350387 bytes 64893272 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108334 bytes 186084121 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237426 bytes 5933304611 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350411 bytes 64894964 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350411 bytes 64894964 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108358 bytes 186090227 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237469 bytes 5933310254 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350443 bytes 64898336 (64.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350443 bytes 64898336 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108387 bytes 186099682 (186.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237521 bytes 5933317280 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350471 bytes 64900312 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350471 bytes 64900312 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108406 bytes 186104713 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237556 bytes 5933322174 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350493 bytes 64901900 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350493 bytes 64901900 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108437 bytes 186114304 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237601 bytes 5933328710 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350523 bytes 64904016 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350523 bytes 64904016 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108455 bytes 186119283 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237640 bytes 5933333892 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350545 bytes 64905604 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350545 bytes 64905604 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108483 bytes 186125725 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237682 bytes 5933339420 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350579 bytes 64909104 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350579 bytes 64909104 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108511 bytes 186135128 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237733 bytes 5933346377 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350613 bytes 64911546 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350613 bytes 64911546 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108530 bytes 186140235 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237768 bytes 5933351296 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350633 bytes 64912936 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350633 bytes 64912936 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108586 bytes 186154348 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237844 bytes 5933362932 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350692 bytes 64916943 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350692 bytes 64916943 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108619 bytes 186163249 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237900 bytes 5933372510 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350721 bytes 64918935 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350721 bytes 64918935 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108641 bytes 186169231 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237939 bytes 5933377862 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350751 bytes 64922179 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350751 bytes 64922179 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108672 bytes 186178822 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4237986 bytes 5933384539 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350781 bytes 64924295 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350781 bytes 64924295 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108691 bytes 186183936 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238019 bytes 5933389273 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350803 bytes 64925883 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350803 bytes 64925883 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108722 bytes 186193570 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238067 bytes 5933396035 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350831 bytes 64927859 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350831 bytes 64927859 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108740 bytes 186198593 (186.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238096 bytes 5933400506 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350849 bytes 64929109 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350849 bytes 64929109 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108769 bytes 186205182 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238141 bytes 5933406241 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350885 bytes 64932807 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350885 bytes 64932807 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108799 bytes 186214745 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238185 bytes 5933412735 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350915 bytes 64934923 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350915 bytes 64934923 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108820 bytes 186219868 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238220 bytes 5933417614 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350937 bytes 64936511 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350937 bytes 64936511 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108856 bytes 186229989 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238274 bytes 5933424945 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 350985 bytes 64939770 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 350985 bytes 64939770 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108916 bytes 186243578 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238358 bytes 5933439233 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351029 bytes 64942816 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351029 bytes 64942816 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108939 bytes 186249608 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238395 bytes 5933444489 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351059 bytes 64946060 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351059 bytes 64946060 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108966 bytes 186258983 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238442 bytes 5933451190 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351087 bytes 64948036 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351087 bytes 64948036 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2108996 bytes 186268475 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238486 bytes 5933457345 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351115 bytes 64950012 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351115 bytes 64950012 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109026 bytes 186278034 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238542 bytes 5933464692 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351153 bytes 64952722 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351153 bytes 64952722 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109044 bytes 186283013 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238575 bytes 5933469400 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351169 bytes 64953844 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351169 bytes 64953844 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109075 bytes 186289614 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238629 bytes 5933475776 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351213 bytes 64958138 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351213 bytes 64958138 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109106 bytes 186299238 (186.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238677 bytes 5933482557 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351245 bytes 64960420 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351245 bytes 64960420 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109126 bytes 186304360 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238718 bytes 5933487892 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351269 bytes 64962174 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351269 bytes 64962174 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109156 bytes 186313986 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238765 bytes 5933494617 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351306 bytes 64964680 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351306 bytes 64964680 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109217 bytes 186327617 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238856 bytes 5933509491 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351361 bytes 64968432 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351361 bytes 64968432 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109244 bytes 186333965 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238901 bytes 5933515384 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351391 bytes 64971634 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351391 bytes 64971634 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109274 bytes 186343550 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238956 bytes 5933522676 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351425 bytes 64974076 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351425 bytes 64974076 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109291 bytes 186348501 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4238987 bytes 5933527309 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351441 bytes 64975198 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351441 bytes 64975198 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109322 bytes 186358116 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239035 bytes 5933534098 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351477 bytes 64977780 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351477 bytes 64977780 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109340 bytes 186363095 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239071 bytes 5933539069 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351493 bytes 64978902 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351493 bytes 64978902 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109369 bytes 186369643 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239116 bytes 5933544820 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351535 bytes 64983030 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351535 bytes 64983030 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109398 bytes 186379098 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239167 bytes 5933551815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351563 bytes 64985006 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351563 bytes 64985006 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109416 bytes 186384077 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239200 bytes 5933556564 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351585 bytes 64986594 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351585 bytes 64986594 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109448 bytes 186393982 (186.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239252 bytes 5933563657 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351615 bytes 64988698 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351615 bytes 64988698 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109494 bytes 186403727 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239316 bytes 5933573585 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351670 bytes 64992343 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351670 bytes 64992343 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109535 bytes 186413886 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239382 bytes 5933583965 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351704 bytes 64995831 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351704 bytes 64995831 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109564 bytes 186423341 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239436 bytes 5933591234 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351738 bytes 64998273 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351738 bytes 64998273 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109583 bytes 186428372 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239467 bytes 5933595815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351754 bytes 64999395 (64.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351754 bytes 64999395 (64.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109615 bytes 186438090 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239524 bytes 5933603244 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351790 bytes 65001977 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351790 bytes 65001977 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109635 bytes 186443193 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239557 bytes 5933607989 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351808 bytes 65003227 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351808 bytes 65003227 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109664 bytes 186449682 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239605 bytes 5933613915 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351844 bytes 65006925 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351844 bytes 65006925 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109690 bytes 186459103 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239654 bytes 5933620800 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351874 bytes 65009029 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351874 bytes 65009029 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109708 bytes 186464082 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239685 bytes 5933625401 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351890 bytes 65010151 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351890 bytes 65010151 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109739 bytes 186473697 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239738 bytes 5933632564 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351926 bytes 65012733 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351926 bytes 65012733 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109784 bytes 186483288 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239801 bytes 5933642376 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 351976 bytes 65016066 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 351976 bytes 65016066 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109823 bytes 186493239 (186.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239870 bytes 5933652966 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352013 bytes 65019752 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352013 bytes 65019752 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109851 bytes 186502618 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239921 bytes 5933659981 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352047 bytes 65022194 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352047 bytes 65022194 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109870 bytes 186507669 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4239957 bytes 5933664948 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352065 bytes 65023444 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352065 bytes 65023444 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109900 bytes 186517184 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240006 bytes 5933671759 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352101 bytes 65026026 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352101 bytes 65026026 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109919 bytes 186522191 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240043 bytes 5933676772 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352117 bytes 65027148 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352117 bytes 65027148 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109949 bytes 186528726 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240085 bytes 5933682260 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352147 bytes 65030380 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352147 bytes 65030380 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2109981 bytes 186538388 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240137 bytes 5933689324 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352185 bytes 65033100 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352185 bytes 65033100 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110002 bytes 186543575 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240176 bytes 5933694485 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352205 bytes 65034490 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352205 bytes 65034490 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110032 bytes 186553145 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240225 bytes 5933701379 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352241 bytes 65037098 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352241 bytes 65037098 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110057 bytes 186558686 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240271 bytes 5933707212 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352281 bytes 65039734 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352281 bytes 65039734 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110124 bytes 186573375 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240363 bytes 5933722207 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352329 bytes 65044130 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352329 bytes 65044130 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110153 bytes 186582966 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240419 bytes 5933729690 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352365 bytes 65046728 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352365 bytes 65046728 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110173 bytes 186588124 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240455 bytes 5933734668 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352381 bytes 65047850 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352381 bytes 65047850 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110203 bytes 186597663 (186.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240500 bytes 5933741207 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352411 bytes 65049966 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352411 bytes 65049966 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110220 bytes 186602614 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240540 bytes 5933746506 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352433 bytes 65051554 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352433 bytes 65051554 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110246 bytes 186608860 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240578 bytes 5933751903 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352467 bytes 65055076 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352467 bytes 65055076 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110276 bytes 186618367 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240633 bytes 5933759186 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352501 bytes 65057518 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352501 bytes 65057518 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110294 bytes 186623390 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240664 bytes 5933763815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352519 bytes 65058768 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352519 bytes 65058768 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110321 bytes 186632797 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240711 bytes 5933770542 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352555 bytes 65061350 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352555 bytes 65061350 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110339 bytes 186637820 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240742 bytes 5933775171 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352580 bytes 65063003 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352580 bytes 65063003 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110406 bytes 186652368 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240836 bytes 5933790277 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352639 bytes 65068151 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352639 bytes 65068151 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110435 bytes 186661891 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240884 bytes 5933797238 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352669 bytes 65070255 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352669 bytes 65070255 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110454 bytes 186666922 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240920 bytes 5933802169 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352691 bytes 65071843 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352691 bytes 65071843 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110484 bytes 186676477 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240963 bytes 5933808620 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352721 bytes 65073959 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352721 bytes 65073959 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110503 bytes 186681540 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4240999 bytes 5933813587 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352745 bytes 65075687 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352745 bytes 65075687 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110532 bytes 186688144 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241039 bytes 5933818993 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352779 bytes 65079221 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352779 bytes 65079221 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110565 bytes 186697944 (186.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241092 bytes 5933826128 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352817 bytes 65081947 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352817 bytes 65081947 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110586 bytes 186703177 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241124 bytes 5933830809 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352835 bytes 65083197 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352835 bytes 65083197 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110618 bytes 186712863 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241174 bytes 5933837689 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352869 bytes 65085639 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352869 bytes 65085639 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110636 bytes 186717874 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241207 bytes 5933842434 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352887 bytes 65086901 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352887 bytes 65086901 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110687 bytes 186728590 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241273 bytes 5933852635 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352949 bytes 65092115 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352949 bytes 65092115 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110722 bytes 186737705 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241330 bytes 5933862238 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 352977 bytes 65094113 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 352977 bytes 65094113 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110762 bytes 186751621 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241393 bytes 5933870774 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353023 bytes 65097409 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353023 bytes 65097409 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110780 bytes 186756600 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241427 bytes 5933875604 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353039 bytes 65098531 (65.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353039 bytes 65098531 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110810 bytes 186766127 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241476 bytes 5933882447 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353075 bytes 65101101 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353075 bytes 65101101 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110836 bytes 186772361 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241521 bytes 5933888172 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353107 bytes 65104473 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353107 bytes 65104473 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110854 bytes 186777340 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241552 bytes 5933892781 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353129 bytes 65106061 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353129 bytes 65106061 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110884 bytes 186786878 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241608 bytes 5933900105 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353159 bytes 65108187 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353159 bytes 65108187 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110902 bytes 186791881 (186.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241636 bytes 5933904516 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353175 bytes 65109309 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353175 bytes 65109309 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110931 bytes 186801443 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241694 bytes 5933912004 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353213 bytes 65112045 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353213 bytes 65112045 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2110983 bytes 186812232 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241766 bytes 5933922612 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353274 bytes 65117263 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353274 bytes 65117263 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111016 bytes 186821113 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241823 bytes 5933932278 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353301 bytes 65119127 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353301 bytes 65119127 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111049 bytes 186830933 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241880 bytes 5933939754 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353337 bytes 65121697 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353337 bytes 65121697 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111068 bytes 186836020 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241911 bytes 5933944384 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353355 bytes 65122959 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353355 bytes 65122959 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111100 bytes 186845706 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4241964 bytes 5933951515 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353389 bytes 65125401 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353389 bytes 65125401 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111127 bytes 186852137 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242009 bytes 5933957275 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353419 bytes 65128633 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353419 bytes 65128633 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111147 bytes 186857196 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242044 bytes 5933962141 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353435 bytes 65129755 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353435 bytes 65129755 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111176 bytes 186866683 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242095 bytes 5933969133 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353471 bytes 65132337 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353471 bytes 65132337 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111195 bytes 186871734 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242130 bytes 5933974027 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353489 bytes 65133587 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353489 bytes 65133587 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111226 bytes 186881349 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242181 bytes 5933981031 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353525 bytes 65136169 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353525 bytes 65136169 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111252 bytes 186887583 (186.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242227 bytes 5933986976 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353569 bytes 65140230 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353569 bytes 65140230 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111310 bytes 186900989 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242307 bytes 5934000985 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353607 bytes 65142842 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353607 bytes 65142842 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111339 bytes 186910464 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242355 bytes 5934007839 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353637 bytes 65144946 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353637 bytes 65144946 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111357 bytes 186915475 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242396 bytes 5934013177 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353661 bytes 65146674 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353661 bytes 65146674 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111387 bytes 186924982 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242440 bytes 5934019655 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353689 bytes 65148650 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353689 bytes 65148650 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111412 bytes 186931200 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242489 bytes 5934025681 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353727 bytes 65152510 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353727 bytes 65152510 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111431 bytes 186936251 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242521 bytes 5934030333 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353747 bytes 65153916 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353747 bytes 65153916 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111463 bytes 186945928 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242575 bytes 5934037558 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353785 bytes 65156654 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353785 bytes 65156654 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111484 bytes 186951193 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242611 bytes 5934042533 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353807 bytes 65158194 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353807 bytes 65158194 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111516 bytes 186961025 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242666 bytes 5934049873 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353843 bytes 65160786 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353843 bytes 65160786 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111539 bytes 186967059 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242711 bytes 5934055601 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353874 bytes 65163967 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353874 bytes 65163967 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111604 bytes 186980997 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242800 bytes 5934070337 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353930 bytes 65167817 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353930 bytes 65167817 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111635 bytes 186990600 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242859 bytes 5934077982 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353960 bytes 65169921 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353960 bytes 65169921 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111654 bytes 186995631 (186.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242896 bytes 5934083009 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 353982 bytes 65171509 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 353982 bytes 65171509 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111686 bytes 187005274 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242945 bytes 5934089826 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354012 bytes 65173625 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354012 bytes 65173625 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111716 bytes 187011874 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4242999 bytes 5934096181 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354050 bytes 65177485 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354050 bytes 65177485 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111734 bytes 187016853 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243027 bytes 5934100562 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354066 bytes 65178607 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354066 bytes 65178607 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111763 bytes 187026308 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243084 bytes 5934107955 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354100 bytes 65181049 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354100 bytes 65181049 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111783 bytes 187031411 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243117 bytes 5934112682 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354118 bytes 65182299 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354118 bytes 65182299 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111813 bytes 187040974 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243169 bytes 5934119773 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354154 bytes 65184881 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354154 bytes 65184881 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111837 bytes 187047056 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243210 bytes 5934125213 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354178 bytes 65187659 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354178 bytes 65187659 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111880 bytes 187056652 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243274 bytes 5934135160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354232 bytes 65191290 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354232 bytes 65191290 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111924 bytes 187069985 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243350 bytes 5934147072 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354270 bytes 65193992 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354270 bytes 65193992 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111944 bytes 187075102 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243384 bytes 5934151967 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354296 bytes 65195864 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354296 bytes 65195864 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2111977 bytes 187084986 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243442 bytes 5934159482 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354326 bytes 65197968 (65.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354326 bytes 65197968 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112005 bytes 187091501 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243487 bytes 5934165254 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354364 bytes 65201806 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354364 bytes 65201806 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112024 bytes 187096532 (187.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243523 bytes 5934170187 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354380 bytes 65202928 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354380 bytes 65202928 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112055 bytes 187106206 (187.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243575 bytes 5934177264 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354416 bytes 65205510 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354416 bytes 65205510 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112073 bytes 187111205 (187.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243608 bytes 5934182011 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354434 bytes 65206760 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354434 bytes 65206760 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112104 bytes 187120796 (187.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243652 bytes 5934188467 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354464 bytes 65208876 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354464 bytes 65208876 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112130 bytes 187127034 (187.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243698 bytes 5934194230 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354498 bytes 65212388 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354498 bytes 65212388 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2112177 bytes 187136865 (187.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4243759 bytes 5934204079 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 354549 bytes 65215772 (65.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 354549 bytes 65215772 (65.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2113983 bytes 187251705 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248572 bytes 5941354973 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355276 bytes 72126433 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355276 bytes 72126433 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114002 bytes 187256736 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248608 bytes 5941359938 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355298 bytes 72128021 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355298 bytes 72128021 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114033 bytes 187266339 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248656 bytes 5941366693 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355328 bytes 72130125 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355328 bytes 72130125 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114060 bytes 187272717 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248697 bytes 5941372149 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355366 bytes 72133963 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355366 bytes 72133963 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114080 bytes 187277876 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248729 bytes 5941376850 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355386 bytes 72135353 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355386 bytes 72135353 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114107 bytes 187287251 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248773 bytes 5941383352 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355414 bytes 72137329 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355414 bytes 72137329 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114125 bytes 187292274 (187.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248806 bytes 5941388139 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355438 bytes 72139045 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355438 bytes 72139045 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114156 bytes 187301966 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248851 bytes 5941394733 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355468 bytes 72141171 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355468 bytes 72141171 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114181 bytes 187308211 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248894 bytes 5941400344 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355500 bytes 72144555 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355500 bytes 72144555 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114212 bytes 187317838 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4248944 bytes 5941407443 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355550 bytes 72147919 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355550 bytes 72147919 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114285 bytes 187336066 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249034 bytes 5941422618 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355602 bytes 72151551 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355602 bytes 72151551 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114314 bytes 187345577 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249082 bytes 5941429412 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355634 bytes 72153795 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355634 bytes 72153795 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114334 bytes 187350763 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249120 bytes 5941434532 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355658 bytes 72155511 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355658 bytes 72155511 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114363 bytes 187357326 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249169 bytes 5941440558 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355692 bytes 72159045 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355692 bytes 72159045 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114393 bytes 187366853 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249221 bytes 5941447617 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355728 bytes 72161615 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355728 bytes 72161615 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114413 bytes 187371956 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249257 bytes 5941452586 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355746 bytes 72162865 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355746 bytes 72162865 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114443 bytes 187381570 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249308 bytes 5941459637 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355780 bytes 72165307 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355780 bytes 72165307 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114461 bytes 187386549 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249343 bytes 5941464536 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355796 bytes 72166429 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355796 bytes 72166429 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114486 bytes 187392715 (187.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249386 bytes 5941470100 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355828 bytes 72169813 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355828 bytes 72169813 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114514 bytes 187402118 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249435 bytes 5941476949 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355863 bytes 72172192 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355863 bytes 72172192 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114575 bytes 187415720 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249526 bytes 5941491825 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355922 bytes 72176223 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355922 bytes 72176223 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114605 bytes 187425329 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249572 bytes 5941498667 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355954 bytes 72178483 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355954 bytes 72178483 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114622 bytes 187430256 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249613 bytes 5941504011 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 355976 bytes 72180071 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 355976 bytes 72180071 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114650 bytes 187436769 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249652 bytes 5941509355 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356008 bytes 72183465 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356008 bytes 72183465 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114681 bytes 187446403 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249708 bytes 5941516722 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356042 bytes 72185907 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356042 bytes 72185907 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114699 bytes 187451438 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249739 bytes 5941521353 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356060 bytes 72187169 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356060 bytes 72187169 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114732 bytes 187461201 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249792 bytes 5941528547 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356098 bytes 72189879 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356098 bytes 72189879 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114749 bytes 187466128 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249826 bytes 5941533353 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356114 bytes 72191001 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356114 bytes 72191001 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114773 bytes 187472214 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249866 bytes 5941538720 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356144 bytes 72194245 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356144 bytes 72194245 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114801 bytes 187481641 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249916 bytes 5941545656 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356172 bytes 72196221 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356172 bytes 72196221 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114843 bytes 187491048 (187.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4249973 bytes 5941555083 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356223 bytes 72199598 (72.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356223 bytes 72199598 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114890 bytes 187504672 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250052 bytes 5941567216 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356263 bytes 72202412 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356263 bytes 72202412 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114908 bytes 187509734 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250089 bytes 5941572331 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356285 bytes 72204000 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356285 bytes 72204000 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114934 bytes 187516109 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250134 bytes 5941578114 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356315 bytes 72207232 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356315 bytes 72207232 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114963 bytes 187525564 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250183 bytes 5941584972 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356349 bytes 72209674 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356349 bytes 72209674 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2114982 bytes 187530595 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250217 bytes 5941589777 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356365 bytes 72210796 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356365 bytes 72210796 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115015 bytes 187540310 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250270 bytes 5941596875 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356403 bytes 72213506 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356403 bytes 72213506 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115032 bytes 187545261 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250302 bytes 5941601565 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356419 bytes 72214628 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356419 bytes 72214628 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115056 bytes 187551362 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250345 bytes 5941607165 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356445 bytes 72217556 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356445 bytes 72217556 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115086 bytes 187561046 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250399 bytes 5941614416 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356479 bytes 72219998 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356479 bytes 72219998 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115129 bytes 187570591 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250463 bytes 5941624327 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356530 bytes 72223394 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356530 bytes 72223394 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115177 bytes 187584223 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250541 bytes 5941636383 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356575 bytes 72226546 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356575 bytes 72226546 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115194 bytes 187589150 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250578 bytes 5941641483 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356597 bytes 72228134 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356597 bytes 72228134 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115223 bytes 187595572 (187.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250625 bytes 5941647300 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356629 bytes 72231494 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356629 bytes 72231494 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115251 bytes 187604975 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250671 bytes 5941653920 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356663 bytes 72233936 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356663 bytes 72233936 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115271 bytes 187610110 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250711 bytes 5941659181 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356683 bytes 72235326 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356683 bytes 72235326 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115300 bytes 187619589 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250755 bytes 5941665685 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356711 bytes 72237302 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356711 bytes 72237302 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115323 bytes 187624987 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250802 bytes 5941671471 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356737 bytes 72239158 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356737 bytes 72239158 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115348 bytes 187631173 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250840 bytes 5941676702 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356765 bytes 72242204 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356765 bytes 72242204 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115377 bytes 187640628 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250895 bytes 5941683969 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356799 bytes 72244646 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356799 bytes 72244646 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115401 bytes 187646022 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4250935 bytes 5941689395 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356840 bytes 72247396 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356840 bytes 72247396 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115465 bytes 187663651 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251032 bytes 5941705609 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356894 bytes 72251184 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356894 bytes 72251184 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115482 bytes 187668578 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251071 bytes 5941710870 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356910 bytes 72252306 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356910 bytes 72252306 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115512 bytes 187675172 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251123 bytes 5941717134 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356952 bytes 72256462 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356952 bytes 72256462 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115543 bytes 187684884 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251175 bytes 5941724216 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 356980 bytes 72258438 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 356980 bytes 72258438 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115562 bytes 187689935 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251212 bytes 5941729260 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357004 bytes 72260154 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357004 bytes 72260154 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115592 bytes 187699466 (187.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251258 bytes 5941735841 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357032 bytes 72262130 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357032 bytes 72262130 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115611 bytes 187704795 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251295 bytes 5941741154 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357056 bytes 72263858 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357056 bytes 72263858 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115634 bytes 187710829 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251329 bytes 5941746098 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357080 bytes 72266636 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357080 bytes 72266636 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115662 bytes 187720232 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251378 bytes 5941752941 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357114 bytes 72269078 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357114 bytes 72269078 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115683 bytes 187725387 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251411 bytes 5941757674 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357139 bytes 72270731 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357139 bytes 72270731 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115752 bytes 187743266 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251509 bytes 5941774057 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357202 bytes 72275076 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357202 bytes 72275076 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115769 bytes 187748237 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251543 bytes 5941779064 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357222 bytes 72276466 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357222 bytes 72276466 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115799 bytes 187754834 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251590 bytes 5941784909 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357260 bytes 72280304 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357260 bytes 72280304 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115828 bytes 187764289 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251635 bytes 5941791456 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357288 bytes 72282280 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357288 bytes 72282280 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115846 bytes 187769268 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251668 bytes 5941796208 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357310 bytes 72283868 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357310 bytes 72283868 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115874 bytes 187778695 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251711 bytes 5941802647 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357338 bytes 72285844 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357338 bytes 72285844 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115895 bytes 187783889 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251750 bytes 5941807767 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357360 bytes 72287432 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357360 bytes 72287432 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115922 bytes 187790190 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251789 bytes 5941813048 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357390 bytes 72290628 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357390 bytes 72290628 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115951 bytes 187799645 (187.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251837 bytes 5941819817 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357424 bytes 72293070 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357424 bytes 72293070 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2115983 bytes 187809394 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251885 bytes 5941826277 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357452 bytes 72295046 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357452 bytes 72295046 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116036 bytes 187823355 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4251964 bytes 5941838199 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357516 bytes 72299328 (72.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357516 bytes 72299328 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116072 bytes 187832427 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252023 bytes 5941847899 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357540 bytes 72301020 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357540 bytes 72301020 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116100 bytes 187838923 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252074 bytes 5941854146 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357578 bytes 72304880 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357578 bytes 72304880 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116130 bytes 187848482 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252124 bytes 5941861034 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357610 bytes 72307124 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357610 bytes 72307124 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116148 bytes 187853461 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252162 bytes 5941866155 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357632 bytes 72308712 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357632 bytes 72308712 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116179 bytes 187863040 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252209 bytes 5941872853 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357662 bytes 72310816 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357662 bytes 72310816 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116197 bytes 187868019 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252247 bytes 5941877935 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357684 bytes 72312404 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357684 bytes 72312404 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116222 bytes 187874189 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252288 bytes 5941883372 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357710 bytes 72315322 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357710 bytes 72315322 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116250 bytes 187883592 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252337 bytes 5941890214 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357738 bytes 72317298 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357738 bytes 72317298 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116267 bytes 187888543 (187.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252374 bytes 5941895275 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357760 bytes 72318886 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357760 bytes 72318886 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116326 bytes 187902797 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252450 bytes 5941907026 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357824 bytes 72323239 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357824 bytes 72323239 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116360 bytes 187911721 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252515 bytes 5941917254 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357853 bytes 72325269 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357853 bytes 72325269 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116388 bytes 187918255 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252561 bytes 5941923143 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357891 bytes 72329107 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357891 bytes 72329107 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116417 bytes 187927744 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252617 bytes 5941930474 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357921 bytes 72331239 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357921 bytes 72331239 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116438 bytes 187933052 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252649 bytes 5941935165 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357939 bytes 72332489 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357939 bytes 72332489 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116470 bytes 187942695 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252707 bytes 5941942614 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357975 bytes 72335071 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357975 bytes 72335071 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116488 bytes 187947674 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252739 bytes 5941947293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 357991 bytes 72336193 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 357991 bytes 72336193 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116512 bytes 187953736 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252783 bytes 5941952905 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358021 bytes 72339437 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358021 bytes 72339437 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116541 bytes 187963191 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252832 bytes 5941959736 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358049 bytes 72341413 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358049 bytes 72341413 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116562 bytes 187968322 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252869 bytes 5941964749 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358073 bytes 72343129 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358073 bytes 72343129 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116596 bytes 187978109 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4252928 bytes 5941972428 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358127 bytes 72346759 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358127 bytes 72346759 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116652 bytes 187991411 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253010 bytes 5941986564 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358165 bytes 72349371 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358165 bytes 72349371 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116680 bytes 187997821 (187.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253057 bytes 5941992518 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358197 bytes 72352743 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358197 bytes 72352743 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116711 bytes 188007424 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253111 bytes 5941999743 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358233 bytes 72355313 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358233 bytes 72355313 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116729 bytes 188012403 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253143 bytes 5942004421 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358249 bytes 72356435 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358249 bytes 72356435 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116758 bytes 188021914 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253194 bytes 5942011448 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358285 bytes 72359017 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358285 bytes 72359017 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116774 bytes 188026813 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253224 bytes 5942016011 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358301 bytes 72360139 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358301 bytes 72360139 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116797 bytes 188032847 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253272 bytes 5942021943 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358331 bytes 72363383 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358331 bytes 72363383 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116825 bytes 188042337 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253319 bytes 5942028673 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358363 bytes 72365649 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358363 bytes 72365649 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116846 bytes 188047575 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253358 bytes 5942033889 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358389 bytes 72367515 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358389 bytes 72367515 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116878 bytes 188057394 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253408 bytes 5942040869 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358426 bytes 72370044 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358426 bytes 72370044 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116942 bytes 188071227 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253499 bytes 5942055762 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358479 bytes 72373702 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358479 bytes 72373702 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2116971 bytes 188077792 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253546 bytes 5942061860 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358513 bytes 72377252 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358513 bytes 72377252 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117005 bytes 188087578 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253605 bytes 5942069294 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358549 bytes 72379822 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358549 bytes 72379822 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117023 bytes 188092589 (188.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253641 bytes 5942074264 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358567 bytes 72381084 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358567 bytes 72381084 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117052 bytes 188102100 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253690 bytes 5942081135 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358603 bytes 72383666 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358603 bytes 72383666 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117071 bytes 188107131 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253726 bytes 5942086110 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358619 bytes 72384788 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358619 bytes 72384788 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117093 bytes 188113109 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253766 bytes 5942091498 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358649 bytes 72388032 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358649 bytes 72388032 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117124 bytes 188122720 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253819 bytes 5942098609 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358681 bytes 72390276 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358681 bytes 72390276 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117142 bytes 188127699 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253853 bytes 5942103436 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358703 bytes 72391864 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358703 bytes 72391864 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117172 bytes 188137286 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253900 bytes 5942110183 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358733 bytes 72393980 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358733 bytes 72393980 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117213 bytes 188146656 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4253965 bytes 5942120186 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358787 bytes 72397576 (72.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358787 bytes 72397576 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117257 bytes 188157104 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254036 bytes 5942130913 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358829 bytes 72401668 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358829 bytes 72401668 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117286 bytes 188166591 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254096 bytes 5942138538 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358865 bytes 72404250 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358865 bytes 72404250 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117302 bytes 188171490 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254127 bytes 5942143174 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358881 bytes 72405372 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358881 bytes 72405372 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117332 bytes 188181131 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254175 bytes 5942149981 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358917 bytes 72407954 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358917 bytes 72407954 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117351 bytes 188186182 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254208 bytes 5942154730 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358935 bytes 72409204 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358935 bytes 72409204 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117374 bytes 188192299 (188.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254243 bytes 5942159763 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358965 bytes 72412448 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358965 bytes 72412448 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117404 bytes 188201913 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254293 bytes 5942166691 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 358995 bytes 72414564 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 358995 bytes 72414564 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117424 bytes 188207040 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254324 bytes 5942171308 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359013 bytes 72415814 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359013 bytes 72415814 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117454 bytes 188216603 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254374 bytes 5942178221 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359049 bytes 72418396 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359049 bytes 72418396 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117497 bytes 188226116 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254435 bytes 5942187895 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359097 bytes 72421601 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359097 bytes 72421601 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117540 bytes 188236429 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254503 bytes 5942198397 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359138 bytes 72425575 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359138 bytes 72425575 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117571 bytes 188245984 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254556 bytes 5942205536 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359174 bytes 72428145 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359174 bytes 72428145 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117587 bytes 188250883 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254586 bytes 5942210098 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359190 bytes 72429267 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359190 bytes 72429267 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117619 bytes 188260542 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254632 bytes 5942216706 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359220 bytes 72431383 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359220 bytes 72431383 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117638 bytes 188265649 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254668 bytes 5942221705 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359246 bytes 72433239 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359246 bytes 72433239 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117664 bytes 188271903 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254706 bytes 5942226953 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359272 bytes 72436145 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359272 bytes 72436145 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117683 bytes 188277041 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254741 bytes 5942231885 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359294 bytes 72437733 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359294 bytes 72437733 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117722 bytes 188290973 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254800 bytes 5942240109 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359336 bytes 72440691 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359336 bytes 72440691 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117738 bytes 188295892 (188.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254839 bytes 5942245332 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359360 bytes 72442407 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359360 bytes 72442407 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117774 bytes 188305944 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254894 bytes 5942252803 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359414 bytes 72446061 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359414 bytes 72446061 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117844 bytes 188320965 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4254992 bytes 5942268291 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359470 bytes 72451105 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359470 bytes 72451105 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117861 bytes 188325892 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255023 bytes 5942272999 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359486 bytes 72452227 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359486 bytes 72452227 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117893 bytes 188335598 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255081 bytes 5942280509 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359522 bytes 72454797 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359522 bytes 72454797 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117910 bytes 188340525 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255110 bytes 5942284973 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359538 bytes 72455919 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359538 bytes 72455919 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117942 bytes 188350144 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255165 bytes 5942292231 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359574 bytes 72458501 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359574 bytes 72458501 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117965 bytes 188356178 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255205 bytes 5942297578 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359598 bytes 72461279 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359598 bytes 72461279 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2117985 bytes 188361237 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255244 bytes 5942302726 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359620 bytes 72462867 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359620 bytes 72462867 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118014 bytes 188370736 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255294 bytes 5942309651 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359650 bytes 72464971 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359650 bytes 72464971 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118032 bytes 188375715 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255327 bytes 5942314404 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359672 bytes 72466559 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359672 bytes 72466559 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118060 bytes 188385142 (188.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255379 bytes 5942321461 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359709 bytes 72469078 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359709 bytes 72469078 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118133 bytes 188400332 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255480 bytes 5942337247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359780 bytes 72475148 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359780 bytes 72475148 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118151 bytes 188405367 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255517 bytes 5942342480 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359798 bytes 72476410 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359798 bytes 72476410 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118181 bytes 188414977 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255574 bytes 5942349868 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359834 bytes 72478980 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359834 bytes 72478980 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118199 bytes 188419956 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255608 bytes 5942354695 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359850 bytes 72480102 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359850 bytes 72480102 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118229 bytes 188429541 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255661 bytes 5942361804 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359884 bytes 72482544 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359884 bytes 72482544 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118252 bytes 188435595 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255700 bytes 5942367142 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359908 bytes 72485322 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359908 bytes 72485322 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118270 bytes 188440574 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255736 bytes 5942372117 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359932 bytes 72487050 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359932 bytes 72487050 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118303 bytes 188450364 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255789 bytes 5942379222 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359964 bytes 72489294 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359964 bytes 72489294 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118320 bytes 188455291 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255826 bytes 5942384271 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 359986 bytes 72490882 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 359986 bytes 72490882 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118349 bytes 188464746 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255873 bytes 5942390966 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360014 bytes 72492858 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360014 bytes 72492858 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118402 bytes 188475695 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4255952 bytes 5942402042 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360081 bytes 72498505 (72.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360081 bytes 72498505 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118436 bytes 188484719 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256010 bytes 5942411780 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360107 bytes 72500337 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360107 bytes 72500337 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118465 bytes 188494194 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256063 bytes 5942418963 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360143 bytes 72502907 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360143 bytes 72502907 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118482 bytes 188499145 (188.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256096 bytes 5942423728 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360159 bytes 72504029 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360159 bytes 72504029 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118511 bytes 188508576 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256145 bytes 5942430539 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360193 bytes 72506471 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360193 bytes 72506471 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118534 bytes 188514638 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256190 bytes 5942436293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360219 bytes 72509389 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360219 bytes 72509389 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118554 bytes 188519773 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256220 bytes 5942440816 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360239 bytes 72510779 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360239 bytes 72510779 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118585 bytes 188529384 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256277 bytes 5942448243 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360277 bytes 72513489 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360277 bytes 72513489 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118604 bytes 188534435 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256308 bytes 5942452852 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360295 bytes 72514739 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360295 bytes 72514739 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118637 bytes 188544290 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256367 bytes 5942460414 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360331 bytes 72517331 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360331 bytes 72517331 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118689 bytes 188555147 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256443 bytes 5942471297 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360396 bytes 72522855 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360396 bytes 72522855 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118729 bytes 188564517 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256504 bytes 5942481164 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360425 bytes 72524885 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360425 bytes 72524885 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118761 bytes 188574274 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256564 bytes 5942488863 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360465 bytes 72527767 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360465 bytes 72527767 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118779 bytes 188579355 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256595 bytes 5942493546 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360485 bytes 72529173 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360485 bytes 72529173 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118809 bytes 188588862 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256644 bytes 5942500369 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360513 bytes 72531149 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360513 bytes 72531149 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118833 bytes 188594976 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256689 bytes 5942506103 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360545 bytes 72534533 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360545 bytes 72534533 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118850 bytes 188599903 (188.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256721 bytes 5942510782 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360561 bytes 72535655 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360561 bytes 72535655 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118878 bytes 188609338 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256776 bytes 5942518045 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360597 bytes 72538237 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360597 bytes 72538237 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118896 bytes 188614361 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256805 bytes 5942522530 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360615 bytes 72539487 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360615 bytes 72539487 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118925 bytes 188623816 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256861 bytes 5942529859 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360649 bytes 72541929 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360649 bytes 72541929 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2118956 bytes 188630498 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256909 bytes 5942535971 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360702 bytes 72546662 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360702 bytes 72546662 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119011 bytes 188643653 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4256992 bytes 5942550162 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360740 bytes 72549274 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360740 bytes 72549274 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119039 bytes 188653112 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257039 bytes 5942557005 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360770 bytes 72551390 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360770 bytes 72551390 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119058 bytes 188658195 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257077 bytes 5942562079 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360796 bytes 72553246 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360796 bytes 72553246 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119088 bytes 188667804 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257120 bytes 5942568546 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360824 bytes 72555222 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360824 bytes 72555222 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119110 bytes 188673802 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257162 bytes 5942574078 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360856 bytes 72558594 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360856 bytes 72558594 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119127 bytes 188678753 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257189 bytes 5942578419 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360872 bytes 72559716 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360872 bytes 72559716 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119156 bytes 188688283 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257238 bytes 5942585277 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360906 bytes 72562158 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360906 bytes 72562158 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119174 bytes 188693338 (188.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257269 bytes 5942589906 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360926 bytes 72563548 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360926 bytes 72563548 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119203 bytes 188702908 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257317 bytes 5942596702 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 360962 bytes 72566130 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 360962 bytes 72566130 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119228 bytes 188709170 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257358 bytes 5942602160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361003 bytes 72570054 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361003 bytes 72570054 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119289 bytes 188722749 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257443 bytes 5942616659 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361056 bytes 72573711 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361056 bytes 72573711 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119319 bytes 188732312 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257491 bytes 5942623612 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361086 bytes 72575827 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361086 bytes 72575827 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119336 bytes 188737259 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257528 bytes 5942628616 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361110 bytes 72577543 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361110 bytes 72577543 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119367 bytes 188746818 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257574 bytes 5942635197 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361138 bytes 72579519 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361138 bytes 72579519 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119390 bytes 188752880 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257615 bytes 5942640655 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361170 bytes 72582903 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361170 bytes 72582903 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119420 bytes 188762419 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257661 bytes 5942647280 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361200 bytes 72585019 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361200 bytes 72585019 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119452 bytes 188772094 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257710 bytes 5942653796 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361236 bytes 72587589 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361236 bytes 72587589 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119479 bytes 188781469 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257759 bytes 5942660677 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361264 bytes 72589565 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361264 bytes 72589565 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119496 bytes 188786420 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257789 bytes 5942665247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361286 bytes 72591153 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361286 bytes 72591153 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119525 bytes 188793070 (188.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257840 bytes 5942671507 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361318 bytes 72594547 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361318 bytes 72594547 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119580 bytes 188807131 (188.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257919 bytes 5942683412 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361383 bytes 72598918 (72.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361383 bytes 72598918 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119615 bytes 188816218 (188.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4257982 bytes 5942693510 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361411 bytes 72600888 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361411 bytes 72600888 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2119646 bytes 188825965 (188.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258034 bytes 5942700678 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361451 bytes 72603754 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361451 bytes 72603754 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120438 bytes 189924649 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258480 bytes 5942739557 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361503 bytes 72608016 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361503 bytes 72608016 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120460 bytes 189930631 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258518 bytes 5942744804 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361533 bytes 72611260 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361533 bytes 72611260 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120491 bytes 189940214 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258569 bytes 5942751818 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361561 bytes 72613236 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361561 bytes 72613236 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120508 bytes 189945197 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258599 bytes 5942756385 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361579 bytes 72614498 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361579 bytes 72614498 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120537 bytes 189954696 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258647 bytes 5942763189 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361615 bytes 72617068 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361615 bytes 72617068 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120553 bytes 189959595 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258682 bytes 5942768122 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361631 bytes 72618190 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361631 bytes 72618190 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120581 bytes 189965973 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258727 bytes 5942773840 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361667 bytes 72621888 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361667 bytes 72621888 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120636 bytes 189980065 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258807 bytes 5942785869 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361728 bytes 72626060 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361728 bytes 72626060 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120672 bytes 189989169 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258868 bytes 5942795766 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361757 bytes 72628064 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361757 bytes 72628064 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120704 bytes 189998859 (189.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258922 bytes 5942803018 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361793 bytes 72630634 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361793 bytes 72630634 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120722 bytes 190003870 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258957 bytes 5942807915 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361811 bytes 72631896 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361811 bytes 72631896 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120746 bytes 190010034 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4258996 bytes 5942813199 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361835 bytes 72634674 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361835 bytes 72634674 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120775 bytes 190019513 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259048 bytes 5942820304 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361869 bytes 72637116 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361869 bytes 72637116 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120793 bytes 190024547 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259080 bytes 5942825009 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361887 bytes 72638388 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361887 bytes 72638388 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120825 bytes 190034309 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259137 bytes 5942832475 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361925 bytes 72641098 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361925 bytes 72641098 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120843 bytes 190039332 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259170 bytes 5942837216 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361943 bytes 72642348 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361943 bytes 72642348 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120870 bytes 190045699 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259217 bytes 5942843107 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 361981 bytes 72646186 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 361981 bytes 72646186 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120901 bytes 190055302 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259269 bytes 5942850276 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362029 bytes 72649445 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362029 bytes 72649445 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120955 bytes 190068517 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259354 bytes 5942864643 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362071 bytes 72652363 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362071 bytes 72652363 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2120983 bytes 190077944 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259402 bytes 5942871556 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362099 bytes 72654339 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362099 bytes 72654339 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121001 bytes 190082955 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259437 bytes 5942876461 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362123 bytes 72656067 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362123 bytes 72656067 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121024 bytes 190089005 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259478 bytes 5942881919 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362149 bytes 72658973 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362149 bytes 72658973 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121052 bytes 190098408 (190.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259530 bytes 5942888952 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362183 bytes 72661415 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362183 bytes 72661415 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121070 bytes 190103387 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259564 bytes 5942893779 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362199 bytes 72662537 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362199 bytes 72662537 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121098 bytes 190112814 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259613 bytes 5942900654 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362233 bytes 72664979 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362233 bytes 72664979 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121117 bytes 190117877 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259649 bytes 5942905624 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362251 bytes 72666241 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362251 bytes 72666241 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121149 bytes 190124760 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259699 bytes 5942911769 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362291 bytes 72670233 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362291 bytes 72670233 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121177 bytes 190134243 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259742 bytes 5942918244 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362328 bytes 72672751 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362328 bytes 72672751 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121235 bytes 190147630 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259832 bytes 5942933071 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362382 bytes 72676436 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362382 bytes 72676436 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121266 bytes 190157455 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259883 bytes 5942940323 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362414 bytes 72678718 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362414 bytes 72678718 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121285 bytes 190162510 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259925 bytes 5942945714 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362436 bytes 72680306 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362436 bytes 72680306 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121310 bytes 190168746 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4259963 bytes 5942950960 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362462 bytes 72683212 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362462 bytes 72683212 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121337 bytes 190178129 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260016 bytes 5942958103 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362498 bytes 72685794 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362498 bytes 72685794 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121356 bytes 190183160 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260049 bytes 5942962856 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362514 bytes 72686916 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362514 bytes 72686916 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121388 bytes 190192893 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260099 bytes 5942969818 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362550 bytes 72689524 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362550 bytes 72689524 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121406 bytes 190197896 (190.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260137 bytes 5942974952 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362566 bytes 72690646 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362566 bytes 72690646 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121436 bytes 190204560 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260181 bytes 5942980687 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362606 bytes 72694634 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362606 bytes 72694634 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121465 bytes 190214071 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260233 bytes 5942987788 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362636 bytes 72696750 (72.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362636 bytes 72696750 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121508 bytes 190223570 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260294 bytes 5942997480 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362690 bytes 72700308 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362690 bytes 72700308 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121554 bytes 190237090 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260366 bytes 5943009117 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362726 bytes 72702854 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362726 bytes 72702854 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121573 bytes 190242153 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260402 bytes 5943014140 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362750 bytes 72704582 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362750 bytes 72704582 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121595 bytes 190248135 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260437 bytes 5943019158 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362774 bytes 72707360 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362774 bytes 72707360 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121625 bytes 190257725 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260486 bytes 5943025984 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362808 bytes 72709802 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362808 bytes 72709802 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121643 bytes 190262748 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260518 bytes 5943030691 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362828 bytes 72711208 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362828 bytes 72711208 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121675 bytes 190272602 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260564 bytes 5943037382 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362860 bytes 72713480 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362860 bytes 72713480 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121691 bytes 190277501 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260597 bytes 5943042174 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362882 bytes 72715068 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362882 bytes 72715068 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121717 bytes 190283876 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260635 bytes 5943047427 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362912 bytes 72718300 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362912 bytes 72718300 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121745 bytes 190293299 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260684 bytes 5943054282 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362948 bytes 72720870 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362948 bytes 72720870 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121768 bytes 190298634 (190.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260721 bytes 5943059475 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 362989 bytes 72723595 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 362989 bytes 72723595 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121838 bytes 190316556 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260822 bytes 5943075926 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363043 bytes 72727367 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363043 bytes 72727367 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121856 bytes 190321567 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260855 bytes 5943080735 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363067 bytes 72729095 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363067 bytes 72729095 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121880 bytes 190327653 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260891 bytes 5943085827 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363091 bytes 72731873 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363091 bytes 72731873 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121896 bytes 190332552 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260917 bytes 5943090102 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363107 bytes 72732995 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363107 bytes 72732995 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121925 bytes 190342083 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260967 bytes 5943097050 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363145 bytes 72735705 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363145 bytes 72735705 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121943 bytes 190347138 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4260996 bytes 5943101537 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363165 bytes 72737095 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363165 bytes 72737095 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121972 bytes 190356593 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261044 bytes 5943108312 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363199 bytes 72739537 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363199 bytes 72739537 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2121997 bytes 190362844 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261084 bytes 5943113705 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363229 bytes 72742769 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363229 bytes 72742769 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122014 bytes 190367771 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261115 bytes 5943118317 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363251 bytes 72744357 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363251 bytes 72744357 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122043 bytes 190377226 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261159 bytes 5943124806 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363286 bytes 72746736 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363286 bytes 72746736 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122107 bytes 190391179 (190.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261247 bytes 5943139592 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363343 bytes 72750601 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363343 bytes 72750601 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122141 bytes 190401110 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261299 bytes 5943146791 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363375 bytes 72752867 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363375 bytes 72752867 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122164 bytes 190407140 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261341 bytes 5943152307 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363405 bytes 72756111 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363405 bytes 72756111 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122181 bytes 190412103 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261368 bytes 5943156648 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363421 bytes 72757233 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363421 bytes 72757233 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122210 bytes 190421614 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261418 bytes 5943163582 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363459 bytes 72759943 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363459 bytes 72759943 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122229 bytes 190426677 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261449 bytes 5943168180 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363477 bytes 72761205 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363477 bytes 72761205 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122259 bytes 190436223 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261497 bytes 5943174972 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363513 bytes 72763813 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363513 bytes 72763813 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122287 bytes 190442653 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261539 bytes 5943180485 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363545 bytes 72767173 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363545 bytes 72767173 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122306 bytes 190447696 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261571 bytes 5943185145 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363567 bytes 72768761 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363567 bytes 72768761 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122334 bytes 190457099 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261619 bytes 5943191895 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363595 bytes 72770737 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363595 bytes 72770737 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122393 bytes 190470492 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261704 bytes 5943206353 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363657 bytes 72774900 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363657 bytes 72774900 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122423 bytes 190480047 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261756 bytes 5943213523 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363685 bytes 72776876 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363685 bytes 72776876 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122445 bytes 190486061 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261796 bytes 5943218944 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363715 bytes 72780120 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363715 bytes 72780120 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122465 bytes 190491188 (190.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261826 bytes 5943223452 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363733 bytes 72781382 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363733 bytes 72781382 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122494 bytes 190500643 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261877 bytes 5943230404 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363767 bytes 72783824 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363767 bytes 72783824 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122515 bytes 190505864 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261911 bytes 5943235214 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363789 bytes 72785370 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363789 bytes 72785370 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122550 bytes 190515911 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4261967 bytes 5943242561 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363825 bytes 72787952 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363825 bytes 72787952 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122576 bytes 190522287 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262009 bytes 5943248116 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363857 bytes 72791346 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363857 bytes 72791346 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122596 bytes 190527402 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262040 bytes 5943252674 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363875 bytes 72792596 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363875 bytes 72792596 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122627 bytes 190536961 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262094 bytes 5943259808 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363909 bytes 72795038 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363909 bytes 72795038 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122672 bytes 190546566 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262156 bytes 5943269515 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 363961 bytes 72798466 (72.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 363961 bytes 72798466 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122718 bytes 190560181 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262233 bytes 5943281522 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364001 bytes 72801318 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364001 bytes 72801318 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122741 bytes 190566227 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262273 bytes 5943286971 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364031 bytes 72804562 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364031 bytes 72804562 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122760 bytes 190571278 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262303 bytes 5943291499 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364049 bytes 72805812 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364049 bytes 72805812 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122790 bytes 190580797 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262351 bytes 5943298249 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364083 bytes 72808254 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364083 bytes 72808254 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122810 bytes 190585956 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262384 bytes 5943303007 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364103 bytes 72809644 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364103 bytes 72809644 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122839 bytes 190595435 (190.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262428 bytes 5943309493 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364131 bytes 72811620 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364131 bytes 72811620 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122865 bytes 190601766 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262474 bytes 5943315314 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364171 bytes 72815620 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364171 bytes 72815620 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122882 bytes 190606717 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262504 bytes 5943319838 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364193 bytes 72817160 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364193 bytes 72817160 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122911 bytes 190616172 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262554 bytes 5943326736 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364221 bytes 72819184 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364221 bytes 72819184 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2122933 bytes 190621447 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262591 bytes 5943331930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364259 bytes 72821717 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364259 bytes 72821717 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123006 bytes 190639582 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262694 bytes 5943348598 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364317 bytes 72825805 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364317 bytes 72825805 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123034 bytes 190646152 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262736 bytes 5943354215 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364349 bytes 72829189 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364349 bytes 72829189 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123052 bytes 190651155 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262769 bytes 5943358941 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364365 bytes 72830311 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364365 bytes 72830311 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123080 bytes 190660594 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262813 bytes 5943365447 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364393 bytes 72832287 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364393 bytes 72832287 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123098 bytes 190665617 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262849 bytes 5943370411 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364417 bytes 72834003 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364417 bytes 72834003 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123127 bytes 190675072 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262895 bytes 5943376993 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364445 bytes 72835979 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364445 bytes 72835979 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123157 bytes 190681690 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262945 bytes 5943383106 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364487 bytes 72840111 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364487 bytes 72840111 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123178 bytes 190686889 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4262977 bytes 5943387754 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364507 bytes 72841501 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364507 bytes 72841501 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123207 bytes 190696344 (190.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263028 bytes 5943394694 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364541 bytes 72843943 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364541 bytes 72843943 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123227 bytes 190701439 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263059 bytes 5943399280 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364564 bytes 72845468 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364564 bytes 72845468 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123300 bytes 190719621 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263161 bytes 5943415957 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364629 bytes 72849919 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364629 bytes 72849919 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123323 bytes 190725667 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263198 bytes 5943421236 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364653 bytes 72852697 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364653 bytes 72852697 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123342 bytes 190730730 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263233 bytes 5943426114 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364677 bytes 72854413 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364677 bytes 72854413 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123372 bytes 190740269 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263279 bytes 5943432720 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364707 bytes 72856529 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364707 bytes 72856529 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123392 bytes 190745388 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263314 bytes 5943437638 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364729 bytes 72858117 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364729 bytes 72858117 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123421 bytes 190754867 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263359 bytes 5943444178 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364757 bytes 72860093 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364757 bytes 72860093 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123449 bytes 190761261 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263405 bytes 5943449950 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364797 bytes 72864059 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364797 bytes 72864059 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123470 bytes 190766561 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263436 bytes 5943454588 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364813 bytes 72865181 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364813 bytes 72865181 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123502 bytes 190776263 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263490 bytes 5943461756 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364849 bytes 72867763 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364849 bytes 72867763 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123521 bytes 190781326 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263522 bytes 5943466432 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364867 bytes 72869025 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364867 bytes 72869025 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123593 bytes 190799243 (190.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263624 bytes 5943482938 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364941 bytes 72874005 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364941 bytes 72874005 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123614 bytes 190805173 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263663 bytes 5943488409 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364965 bytes 72876783 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364965 bytes 72876783 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123632 bytes 190810164 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263697 bytes 5943493237 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 364993 bytes 72878789 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 364993 bytes 72878789 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123663 bytes 190819743 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263745 bytes 5943499942 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365017 bytes 72880475 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365017 bytes 72880475 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123682 bytes 190824806 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263781 bytes 5943504872 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365041 bytes 72882203 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365041 bytes 72882203 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123712 bytes 190834313 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263828 bytes 5943511527 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365069 bytes 72884179 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365069 bytes 72884179 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123741 bytes 190840828 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263874 bytes 5943517303 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365109 bytes 72888179 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365109 bytes 72888179 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123762 bytes 190846015 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263905 bytes 5943521908 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365129 bytes 72889569 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365129 bytes 72889569 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123792 bytes 190855542 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263952 bytes 5943528559 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365159 bytes 72891673 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365159 bytes 72891673 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123810 bytes 190860553 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4263987 bytes 5943533456 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365183 bytes 72893401 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365183 bytes 72893401 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123868 bytes 190874803 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264065 bytes 5943545309 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365251 bytes 72897991 (72.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365251 bytes 72897991 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123910 bytes 190884997 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264133 bytes 5943555851 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365285 bytes 72901505 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365285 bytes 72901505 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123929 bytes 190890028 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264164 bytes 5943560516 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365307 bytes 72903093 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365307 bytes 72903093 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123959 bytes 190899688 (190.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264216 bytes 5943567566 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365337 bytes 72905197 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365337 bytes 72905197 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2123980 bytes 190904958 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264250 bytes 5943572389 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365363 bytes 72907053 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365363 bytes 72907053 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124010 bytes 190914465 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264297 bytes 5943579053 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365391 bytes 72909029 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365391 bytes 72909029 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124035 bytes 190920712 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264336 bytes 5943584380 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365423 bytes 72912423 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365423 bytes 72912423 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124053 bytes 190925754 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264369 bytes 5943589181 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365447 bytes 72914177 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365447 bytes 72914177 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124081 bytes 190935201 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264414 bytes 5943595757 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365477 bytes 72916281 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365477 bytes 72916281 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124100 bytes 190940264 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264450 bytes 5943600725 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365501 bytes 72918009 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365501 bytes 72918009 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124133 bytes 190950027 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264501 bytes 5943607881 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365553 bytes 72921511 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365553 bytes 72921511 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124193 bytes 190964135 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264589 bytes 5943622554 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365599 bytes 72925779 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365599 bytes 72925779 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124212 bytes 190969249 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264620 bytes 5943627207 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365621 bytes 72927367 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365621 bytes 72927367 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124242 bytes 190978776 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264671 bytes 5943634163 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365651 bytes 72929471 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365651 bytes 72929471 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124262 bytes 190983911 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264703 bytes 5943638815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365671 bytes 72930861 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365671 bytes 72930861 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124295 bytes 190993582 (190.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264756 bytes 5943645879 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365707 bytes 72933443 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365707 bytes 72933443 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124324 bytes 191000089 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264797 bytes 5943651343 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365737 bytes 72936675 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365737 bytes 72936675 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124342 bytes 191005068 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264829 bytes 5943656031 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365759 bytes 72938263 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365759 bytes 72938263 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124375 bytes 191014967 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264880 bytes 5943663034 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365793 bytes 72940657 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365793 bytes 72940657 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124394 bytes 191020054 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264915 bytes 5943667948 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365817 bytes 72942385 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365817 bytes 72942385 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124425 bytes 191029657 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4264961 bytes 5943674566 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365854 bytes 72944892 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365854 bytes 72944892 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124492 bytes 191044345 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265060 bytes 5943690114 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365923 bytes 72950705 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365923 bytes 72950705 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124510 bytes 191049368 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265090 bytes 5943694778 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365943 bytes 72952095 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365943 bytes 72952095 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124540 bytes 191058927 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265145 bytes 5943701998 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365981 bytes 72954805 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365981 bytes 72954805 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124558 bytes 191063950 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265174 bytes 5943706484 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 365999 bytes 72956055 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 365999 bytes 72956055 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124587 bytes 191073429 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265222 bytes 5943713286 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366033 bytes 72958497 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366033 bytes 72958497 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124616 bytes 191080016 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265266 bytes 5943718942 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366073 bytes 72962417 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366073 bytes 72962417 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124636 bytes 191085099 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265301 bytes 5943723784 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366095 bytes 72964005 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366095 bytes 72964005 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124665 bytes 191094554 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265349 bytes 5943730502 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366125 bytes 72966121 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366125 bytes 72966121 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124687 bytes 191099876 (191.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265385 bytes 5943735500 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366151 bytes 72967977 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366151 bytes 72967977 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124717 bytes 191109383 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265431 bytes 5943742122 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366179 bytes 72969953 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366179 bytes 72969953 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124785 bytes 191124115 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265526 bytes 5943757415 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366251 bytes 72975929 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366251 bytes 72975929 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124801 bytes 191128990 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265557 bytes 5943762177 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366267 bytes 72977051 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366267 bytes 72977051 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124832 bytes 191138632 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265608 bytes 5943769176 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366307 bytes 72979911 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366307 bytes 72979911 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124854 bytes 191144004 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265642 bytes 5943773997 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366325 bytes 72981173 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366325 bytes 72981173 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124883 bytes 191153515 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265689 bytes 5943780729 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366361 bytes 72983755 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366361 bytes 72983755 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124911 bytes 191160014 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265732 bytes 5943786361 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366395 bytes 72987277 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366395 bytes 72987277 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124931 bytes 191165136 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265764 bytes 5943791056 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366419 bytes 72989031 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366419 bytes 72989031 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124959 bytes 191174595 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265813 bytes 5943797888 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366449 bytes 72991147 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366449 bytes 72991147 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2124979 bytes 191179722 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265844 bytes 5943802462 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366467 bytes 72992397 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366467 bytes 72992397 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125013 bytes 191189469 (191.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265901 bytes 5943809754 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366503 bytes 72994979 (72.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366503 bytes 72994979 (72.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125064 bytes 191200201 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4265971 bytes 5943820276 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366565 bytes 73000193 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366565 bytes 73000193 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125096 bytes 191209030 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266026 bytes 5943829783 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366589 bytes 73001885 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366589 bytes 73001885 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125125 bytes 191218485 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266073 bytes 5943836547 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366623 bytes 73004327 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366623 bytes 73004327 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125144 bytes 191223516 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266106 bytes 5943841261 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366639 bytes 73005449 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366639 bytes 73005449 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125176 bytes 191233265 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266152 bytes 5943847925 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366675 bytes 73008031 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366675 bytes 73008031 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125204 bytes 191239723 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266196 bytes 5943853617 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366709 bytes 73011553 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366709 bytes 73011553 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125221 bytes 191244673 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266222 bytes 5943857892 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366725 bytes 73012675 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366725 bytes 73012675 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125249 bytes 191254099 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266270 bytes 5943864701 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366759 bytes 73015117 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366759 bytes 73015117 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125268 bytes 191259318 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266303 bytes 5943869566 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366775 bytes 73016239 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366775 bytes 73016239 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125298 bytes 191268848 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266350 bytes 5943876301 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366809 bytes 73018681 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366809 bytes 73018681 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125324 bytes 191275053 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266395 bytes 5943882187 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366859 bytes 73023113 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366859 bytes 73023113 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125379 bytes 191288326 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266473 bytes 5943896142 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366894 bytes 73025569 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366894 bytes 73025569 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125408 bytes 191297828 (191.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266519 bytes 5943902843 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366922 bytes 73027545 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366922 bytes 73027545 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125429 bytes 191303196 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266555 bytes 5943907840 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366946 bytes 73029261 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366946 bytes 73029261 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125458 bytes 191312706 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266601 bytes 5943914448 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 366976 bytes 73031377 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 366976 bytes 73031377 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125486 bytes 191319204 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266648 bytes 5943920341 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367014 bytes 73035203 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367014 bytes 73035203 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125503 bytes 191324186 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266676 bytes 5943924751 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367032 bytes 73036465 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367032 bytes 73036465 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125533 bytes 191333724 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266727 bytes 5943931737 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367068 bytes 73039047 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367068 bytes 73039047 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125552 bytes 191338810 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266757 bytes 5943936275 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367086 bytes 73040309 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367086 bytes 73040309 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125585 bytes 191348563 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266808 bytes 5943943272 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367126 bytes 73043185 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367126 bytes 73043185 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125609 bytes 191354682 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266846 bytes 5943948521 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367159 bytes 73046521 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367159 bytes 73046521 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125667 bytes 191368080 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266930 bytes 5943962953 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367214 bytes 73050283 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367214 bytes 73050283 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125698 bytes 191377721 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4266980 bytes 5943969961 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367248 bytes 73052677 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367248 bytes 73052677 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125717 bytes 191382785 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267015 bytes 5943974890 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367272 bytes 73054421 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367272 bytes 73054421 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125750 bytes 191392632 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267064 bytes 5943981733 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367302 bytes 73056537 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367302 bytes 73056537 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125776 bytes 191398865 (191.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267108 bytes 5943987364 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367338 bytes 73060235 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367338 bytes 73060235 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125794 bytes 191403875 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267138 bytes 5943991889 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367356 bytes 73061497 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367356 bytes 73061497 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125827 bytes 191413616 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267192 bytes 5943999074 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367392 bytes 73064067 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367392 bytes 73064067 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125846 bytes 191418690 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267222 bytes 5944003631 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367410 bytes 73065317 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367410 bytes 73065317 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125874 bytes 191428116 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267268 bytes 5944010262 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367444 bytes 73067759 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367444 bytes 73067759 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125898 bytes 191434229 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267308 bytes 5944015644 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367470 bytes 73070677 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367470 bytes 73070677 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125959 bytes 191447822 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267390 bytes 5944029878 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367528 bytes 73074571 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367528 bytes 73074571 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2125988 bytes 191457300 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267438 bytes 5944036813 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367556 bytes 73076547 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367556 bytes 73076547 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126009 bytes 191462537 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267472 bytes 5944041657 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367580 bytes 73078263 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367580 bytes 73078263 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126037 bytes 191471963 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267516 bytes 5944048160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367608 bytes 73080239 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367608 bytes 73080239 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126065 bytes 191478477 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267563 bytes 5944054065 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367648 bytes 73084239 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367648 bytes 73084239 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126084 bytes 191483507 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267592 bytes 5944058521 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367664 bytes 73085361 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367664 bytes 73085361 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126114 bytes 191493013 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267642 bytes 5944065377 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367698 bytes 73087803 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367698 bytes 73087803 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126133 bytes 191498119 (191.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267674 bytes 5944070079 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367720 bytes 73089343 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367720 bytes 73089343 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126168 bytes 191508155 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267725 bytes 5944077090 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367756 bytes 73091893 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367756 bytes 73091893 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126191 bytes 191514208 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267768 bytes 5944082687 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367788 bytes 73095265 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367788 bytes 73095265 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126233 bytes 191523590 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267825 bytes 5944092074 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367839 bytes 73098642 (73.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367839 bytes 73098642 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126278 bytes 191537045 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267902 bytes 5944104087 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367879 bytes 73101494 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367879 bytes 73101494 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126297 bytes 191542075 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267935 bytes 5944108891 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367901 bytes 73103082 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367901 bytes 73103082 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126328 bytes 191551665 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4267983 bytes 5944115635 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367931 bytes 73105198 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367931 bytes 73105198 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126356 bytes 191558164 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268026 bytes 5944121238 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367965 bytes 73108720 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367965 bytes 73108720 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126373 bytes 191563158 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268059 bytes 5944126042 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 367989 bytes 73110436 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 367989 bytes 73110436 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126403 bytes 191572688 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268107 bytes 5944132762 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368017 bytes 73112412 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368017 bytes 73112412 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126422 bytes 191577750 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268142 bytes 5944137658 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368041 bytes 73114140 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368041 bytes 73114140 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126452 bytes 191587332 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268187 bytes 5944144228 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368073 bytes 73116384 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368073 bytes 73116384 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126478 bytes 191593639 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268233 bytes 5944150029 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368105 bytes 73119794 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368105 bytes 73119794 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126498 bytes 191598789 (191.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268265 bytes 5944154891 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368142 bytes 73122251 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368142 bytes 73122251 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126568 bytes 191616817 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268367 bytes 5944171482 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368196 bytes 73126011 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368196 bytes 73126011 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126586 bytes 191621795 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268396 bytes 5944175990 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368212 bytes 73127133 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368212 bytes 73127133 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126618 bytes 191631621 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268448 bytes 5944183082 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368250 bytes 73129865 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368250 bytes 73129865 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126644 bytes 191637897 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268488 bytes 5944188450 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368280 bytes 73133097 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368280 bytes 73133097 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126661 bytes 191642847 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268521 bytes 5944193214 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368302 bytes 73134685 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368302 bytes 73134685 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126690 bytes 191652325 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268566 bytes 5944199772 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368330 bytes 73136661 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368330 bytes 73136661 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126708 bytes 191657323 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268600 bytes 5944204602 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368354 bytes 73138377 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368354 bytes 73138377 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126738 bytes 191666853 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268642 bytes 5944210966 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368382 bytes 73140353 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368382 bytes 73140353 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126762 bytes 191672970 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268683 bytes 5944216423 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368414 bytes 73143737 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368414 bytes 73143737 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126781 bytes 191678000 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268712 bytes 5944220879 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368437 bytes 73145262 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368437 bytes 73145262 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126849 bytes 191695768 (191.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268812 bytes 5944237399 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368504 bytes 73149841 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368504 bytes 73149841 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126866 bytes 191700694 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268843 bytes 5944242107 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368520 bytes 73150963 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368520 bytes 73150963 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126899 bytes 191710308 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268893 bytes 5944248967 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368554 bytes 73153405 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368554 bytes 73153405 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126925 bytes 191716646 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268933 bytes 5944254343 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368586 bytes 73156777 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368586 bytes 73156777 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126946 bytes 191721839 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4268968 bytes 5944259205 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368608 bytes 73158365 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368608 bytes 73158365 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126976 bytes 191731397 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269018 bytes 5944266089 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368640 bytes 73160609 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368640 bytes 73160609 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2126995 bytes 191736459 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269052 bytes 5944270911 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368664 bytes 73162337 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368664 bytes 73162337 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127024 bytes 191745971 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269098 bytes 5944277553 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368694 bytes 73164469 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368694 bytes 73164469 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127049 bytes 191752158 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269140 bytes 5944283076 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368724 bytes 73167713 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368724 bytes 73167713 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127078 bytes 191761711 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269189 bytes 5944289944 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368752 bytes 73169689 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368752 bytes 73169689 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127140 bytes 191775420 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269276 bytes 5944304537 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368815 bytes 73173902 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368815 bytes 73173902 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127168 bytes 191784846 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269321 bytes 5944311278 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368843 bytes 73175878 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368843 bytes 73175878 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127188 bytes 191789967 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269357 bytes 5944316247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368867 bytes 73177632 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368867 bytes 73177632 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127218 bytes 191796553 (191.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269399 bytes 5944321735 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368897 bytes 73180864 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368897 bytes 73180864 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127248 bytes 191806091 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269451 bytes 5944328734 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368933 bytes 73183446 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368933 bytes 73183446 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127267 bytes 191811141 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269483 bytes 5944333408 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368951 bytes 73184696 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368951 bytes 73184696 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127297 bytes 191820710 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269532 bytes 5944340237 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 368987 bytes 73187304 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 368987 bytes 73187304 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127316 bytes 191825772 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269565 bytes 5944344985 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369005 bytes 73188566 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369005 bytes 73188566 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127340 bytes 191831881 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269601 bytes 5944350084 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369029 bytes 73191344 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369029 bytes 73191344 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127368 bytes 191841307 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269649 bytes 5944356892 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369063 bytes 73193786 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369063 bytes 73193786 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127413 bytes 191851046 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269710 bytes 5944366589 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369117 bytes 73197342 (73.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369117 bytes 73197342 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127459 bytes 191864541 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269782 bytes 5944378254 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369157 bytes 73200182 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369157 bytes 73200182 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127476 bytes 191869491 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269815 bytes 5944383091 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369181 bytes 73201910 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369181 bytes 73201910 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127507 bytes 191876205 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269862 bytes 5944388946 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369217 bytes 73205594 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369217 bytes 73205594 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127538 bytes 191885940 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269909 bytes 5944395679 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369245 bytes 73207570 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369245 bytes 73207570 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127557 bytes 191890990 (191.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269945 bytes 5944400646 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369269 bytes 73209286 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369269 bytes 73209286 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127587 bytes 191900496 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4269990 bytes 5944407173 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369297 bytes 73211262 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369297 bytes 73211262 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127608 bytes 191905682 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270030 bytes 5944412376 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369323 bytes 73213118 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369323 bytes 73213118 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127632 bytes 191911815 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270065 bytes 5944417394 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369351 bytes 73216164 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369351 bytes 73216164 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127660 bytes 191921217 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270114 bytes 5944424233 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369385 bytes 73218606 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369385 bytes 73218606 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127684 bytes 191926563 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270152 bytes 5944429536 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369421 bytes 73221008 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369421 bytes 73221008 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127752 bytes 191944380 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270247 bytes 5944445626 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369471 bytes 73224474 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369471 bytes 73224474 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127770 bytes 191949402 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270278 bytes 5944450291 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369489 bytes 73225724 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369489 bytes 73225724 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127796 bytes 191955727 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270321 bytes 5944455897 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369527 bytes 73229562 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369527 bytes 73229562 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127826 bytes 191965265 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270368 bytes 5944462567 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369557 bytes 73231678 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369557 bytes 73231678 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127845 bytes 191970295 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270403 bytes 5944467448 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369579 bytes 73233266 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369579 bytes 73233266 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127874 bytes 191979773 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270446 bytes 5944473879 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369607 bytes 73235242 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369607 bytes 73235242 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127893 bytes 191984906 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270484 bytes 5944478993 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369631 bytes 73236958 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369631 bytes 73236958 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127919 bytes 191991157 (191.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270521 bytes 5944484145 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369659 bytes 73240032 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369659 bytes 73240032 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127950 bytes 192000902 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270572 bytes 5944491171 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369695 bytes 73242630 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369695 bytes 73242630 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2127970 bytes 192006059 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270603 bytes 5944495783 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369718 bytes 73244155 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369718 bytes 73244155 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128042 bytes 192024019 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270705 bytes 5944512364 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369785 bytes 73248769 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369785 bytes 73248769 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128058 bytes 192028917 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270736 bytes 5944517105 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369801 bytes 73249891 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369801 bytes 73249891 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128086 bytes 192035345 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270782 bytes 5944522909 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369839 bytes 73253745 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369839 bytes 73253745 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128115 bytes 192044799 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270827 bytes 5944529455 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369867 bytes 73255721 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369867 bytes 73255721 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128134 bytes 192049829 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270859 bytes 5944534142 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369889 bytes 73257309 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369889 bytes 73257309 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128167 bytes 192059793 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270909 bytes 5944541039 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369921 bytes 73259553 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369921 bytes 73259553 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128186 bytes 192064838 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270945 bytes 5944545997 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369945 bytes 73261307 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369945 bytes 73261307 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128209 bytes 192070871 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4270980 bytes 5944551015 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 369969 bytes 73264085 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 369969 bytes 73264085 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128234 bytes 192080117 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271025 bytes 5944557578 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370003 bytes 73266527 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370003 bytes 73266527 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128251 bytes 192085067 (192.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271056 bytes 5944562215 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370019 bytes 73267649 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370019 bytes 73267649 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128326 bytes 192103407 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271160 bytes 5944578970 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370096 bytes 73272884 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370096 bytes 73272884 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128344 bytes 192108453 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271194 bytes 5944583997 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370114 bytes 73274134 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370114 bytes 73274134 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128372 bytes 192114904 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271239 bytes 5944589812 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370154 bytes 73278144 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370154 bytes 73278144 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128400 bytes 192124330 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271285 bytes 5944596444 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370182 bytes 73280120 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370182 bytes 73280120 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128420 bytes 192129490 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271321 bytes 5944601399 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370204 bytes 73281708 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370204 bytes 73281708 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128454 bytes 192139331 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271371 bytes 5944608295 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370236 bytes 73283952 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370236 bytes 73283952 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128471 bytes 192144281 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271401 bytes 5944612858 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370258 bytes 73285540 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370258 bytes 73285540 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128494 bytes 192150310 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271438 bytes 5944618024 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370282 bytes 73288318 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370282 bytes 73288318 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128523 bytes 192159764 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271485 bytes 5944624679 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370310 bytes 73290294 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370310 bytes 73290294 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128543 bytes 192164898 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271521 bytes 5944629646 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370336 bytes 73292150 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370336 bytes 73292150 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128599 bytes 192178968 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271594 bytes 5944641136 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370400 bytes 73296434 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370400 bytes 73296434 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128634 bytes 192187936 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271652 bytes 5944650812 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370426 bytes 73298266 (73.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370426 bytes 73298266 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128663 bytes 192194507 (192.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271695 bytes 5944656500 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370464 bytes 73302126 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370464 bytes 73302126 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128693 bytes 192204115 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271745 bytes 5944663398 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370492 bytes 73304102 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370492 bytes 73304102 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128712 bytes 192209165 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271773 bytes 5944667785 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370510 bytes 73305352 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370510 bytes 73305352 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128740 bytes 192218623 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271822 bytes 5944674656 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370546 bytes 73307934 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370546 bytes 73307934 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128758 bytes 192223601 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271852 bytes 5944679187 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370562 bytes 73309056 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370562 bytes 73309056 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128784 bytes 192229766 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271892 bytes 5944684543 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370592 bytes 73312300 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370592 bytes 73312300 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128813 bytes 192239252 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271938 bytes 5944691160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370622 bytes 73314416 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370622 bytes 73314416 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128835 bytes 192244573 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4271976 bytes 5944696304 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370648 bytes 73316272 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370648 bytes 73316272 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128869 bytes 192254540 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272032 bytes 5944703802 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370699 bytes 73319723 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370699 bytes 73319723 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128924 bytes 192267845 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272112 bytes 5944717885 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370739 bytes 73322475 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370739 bytes 73322475 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128953 bytes 192274380 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272156 bytes 5944723604 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370775 bytes 73326131 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370775 bytes 73326131 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2128983 bytes 192283930 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272210 bytes 5944730751 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370811 bytes 73328701 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370811 bytes 73328701 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129002 bytes 192289004 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272239 bytes 5944735235 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370829 bytes 73329951 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370829 bytes 73329951 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129032 bytes 192298510 (192.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272288 bytes 5944742077 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370863 bytes 73332393 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370863 bytes 73332393 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129049 bytes 192303468 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272319 bytes 5944746677 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370881 bytes 73333655 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370881 bytes 73333655 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129075 bytes 192309688 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272360 bytes 5944752117 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370915 bytes 73337193 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370915 bytes 73337193 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129104 bytes 192319142 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272404 bytes 5944758605 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370943 bytes 73339169 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370943 bytes 73339169 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129123 bytes 192324192 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272438 bytes 5944763428 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 370967 bytes 73340885 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 370967 bytes 73340885 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129155 bytes 192333854 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272484 bytes 5944770049 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371006 bytes 73343532 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371006 bytes 73343532 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129215 bytes 192347309 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272570 bytes 5944784615 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371061 bytes 73347295 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371061 bytes 73347295 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129244 bytes 192353850 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272613 bytes 5944790309 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371093 bytes 73350677 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371093 bytes 73350677 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129276 bytes 192363475 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272666 bytes 5944797398 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371129 bytes 73353285 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371129 bytes 73353285 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129291 bytes 192368345 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272693 bytes 5944801771 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371145 bytes 73354407 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371145 bytes 73354407 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129323 bytes 192378213 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272746 bytes 5944808987 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371183 bytes 73357117 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371183 bytes 73357117 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129341 bytes 192383293 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272777 bytes 5944813634 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371199 bytes 73358239 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371199 bytes 73358239 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129364 bytes 192389326 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272814 bytes 5944818800 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371229 bytes 73361483 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371229 bytes 73361483 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129395 bytes 192398884 (192.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272866 bytes 5944825765 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371257 bytes 73363459 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371257 bytes 73363459 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129411 bytes 192403782 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272896 bytes 5944830328 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371279 bytes 73365047 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371279 bytes 73365047 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129439 bytes 192413240 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4272942 bytes 5944836977 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371309 bytes 73367163 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371309 bytes 73367163 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129499 bytes 192426741 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273028 bytes 5944851603 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371370 bytes 73371272 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371370 bytes 73371272 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129524 bytes 192433006 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273068 bytes 5944857159 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371402 bytes 73374666 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371402 bytes 73374666 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129552 bytes 192442428 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273118 bytes 5944864132 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371438 bytes 73377236 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371438 bytes 73377236 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129574 bytes 192447844 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273151 bytes 5944868881 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371458 bytes 73378626 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371458 bytes 73378626 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129606 bytes 192457498 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273201 bytes 5944875766 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371494 bytes 73381196 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371494 bytes 73381196 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129625 bytes 192462548 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273236 bytes 5944880623 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371512 bytes 73382446 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371512 bytes 73382446 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129648 bytes 192468581 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273271 bytes 5944885621 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371542 bytes 73385690 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371542 bytes 73385690 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129678 bytes 192478119 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273321 bytes 5944892534 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371572 bytes 73387806 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371572 bytes 73387806 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129697 bytes 192483149 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273349 bytes 5944896925 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371588 bytes 73388928 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371588 bytes 73388928 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129726 bytes 192492658 (192.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273398 bytes 5944903807 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371624 bytes 73391520 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371624 bytes 73391520 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129774 bytes 192502710 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273464 bytes 5944914036 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371676 bytes 73394971 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371676 bytes 73394971 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129820 bytes 192513247 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273536 bytes 5944924836 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371718 bytes 73399075 (73.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371718 bytes 73399075 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129851 bytes 192522839 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273586 bytes 5944931796 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371754 bytes 73401673 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371754 bytes 73401673 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129870 bytes 192527889 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273620 bytes 5944936600 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371772 bytes 73402923 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371772 bytes 73402923 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129900 bytes 192537451 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273664 bytes 5944943098 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371802 bytes 73405039 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371802 bytes 73405039 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129918 bytes 192542429 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273699 bytes 5944948000 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371824 bytes 73406627 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371824 bytes 73406627 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129941 bytes 192548458 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273733 bytes 5944952945 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371848 bytes 73409405 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371848 bytes 73409405 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129970 bytes 192557951 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273784 bytes 5944959952 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371884 bytes 73412013 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371884 bytes 73412013 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2129990 bytes 192563053 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273814 bytes 5944964480 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371902 bytes 73413263 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371902 bytes 73413263 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130020 bytes 192572833 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273865 bytes 5944971492 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371936 bytes 73415705 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371936 bytes 73415705 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130066 bytes 192582499 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273924 bytes 5944981201 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 371987 bytes 73419103 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 371987 bytes 73419103 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130111 bytes 192593428 (192.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4273994 bytes 5944991881 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372030 bytes 73423243 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372030 bytes 73423243 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130141 bytes 192602934 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274039 bytes 5944998489 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372058 bytes 73425219 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372058 bytes 73425219 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130160 bytes 192607984 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274074 bytes 5945003386 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372082 bytes 73426935 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372082 bytes 73426935 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130189 bytes 192617462 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274116 bytes 5945009752 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372110 bytes 73428911 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372110 bytes 73428911 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130206 bytes 192622388 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274150 bytes 5945014588 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372132 bytes 73430499 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372132 bytes 73430499 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130233 bytes 192628830 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274188 bytes 5945019838 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372160 bytes 73433545 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372160 bytes 73433545 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130262 bytes 192638401 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274240 bytes 5945026944 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372196 bytes 73436143 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372196 bytes 73436143 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130280 bytes 192643403 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274271 bytes 5945031566 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372212 bytes 73437265 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372212 bytes 73437265 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130310 bytes 192652909 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274321 bytes 5945038444 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372246 bytes 73439707 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372246 bytes 73439707 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130330 bytes 192658035 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274354 bytes 5945043342 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372276 bytes 73441645 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372276 bytes 73441645 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130403 bytes 192673173 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274449 bytes 5945059178 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372340 bytes 73447205 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372340 bytes 73447205 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130433 bytes 192682723 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274495 bytes 5945066000 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372370 bytes 73449321 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372370 bytes 73449321 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130450 bytes 192687673 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274529 bytes 5945070911 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372392 bytes 73450909 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372392 bytes 73450909 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130481 bytes 192697231 (192.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274574 bytes 5945077439 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372420 bytes 73452885 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372420 bytes 73452885 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130499 bytes 192702209 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274609 bytes 5945082321 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372442 bytes 73454473 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372442 bytes 73454473 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130524 bytes 192708362 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274646 bytes 5945087464 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372468 bytes 73457379 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372468 bytes 73457379 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130554 bytes 192717900 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274695 bytes 5945094292 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372504 bytes 73459961 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372504 bytes 73459961 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130573 bytes 192722930 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274726 bytes 5945098897 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372520 bytes 73461083 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372520 bytes 73461083 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130605 bytes 192732639 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274777 bytes 5945105981 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372558 bytes 73463815 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372558 bytes 73463815 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130623 bytes 192737617 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274810 bytes 5945110734 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372574 bytes 73464937 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372574 bytes 73464937 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130695 bytes 192752740 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274910 bytes 5945126230 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372651 bytes 73471283 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372651 bytes 73471283 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130723 bytes 192762166 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274958 bytes 5945133175 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372679 bytes 73473259 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372679 bytes 73473259 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130740 bytes 192767175 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4274992 bytes 5945138016 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372701 bytes 73474847 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372701 bytes 73474847 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130771 bytes 192776789 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275040 bytes 5945144753 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372731 bytes 73476963 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372731 bytes 73476963 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130790 bytes 192781843 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275074 bytes 5945149596 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372753 bytes 73478551 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372753 bytes 73478551 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130814 bytes 192787948 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275111 bytes 5945154758 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372779 bytes 73481457 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372779 bytes 73481457 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130840 bytes 192797270 (192.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275153 bytes 5945161123 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372807 bytes 73483433 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372807 bytes 73483433 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130860 bytes 192802447 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275188 bytes 5945166056 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372833 bytes 73485327 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372833 bytes 73485327 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130891 bytes 192812049 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275234 bytes 5945172666 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372863 bytes 73487431 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372863 bytes 73487431 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130909 bytes 192817027 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275269 bytes 5945177568 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372885 bytes 73489019 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372885 bytes 73489019 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2130947 bytes 192824160 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275321 bytes 5945184095 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372953 bytes 73494721 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372953 bytes 73494721 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131015 bytes 192842014 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275417 bytes 5945200159 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 372995 bytes 73497713 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 372995 bytes 73497713 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131032 bytes 192846960 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275450 bytes 5945204960 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373019 bytes 73499429 (73.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373019 bytes 73499429 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131060 bytes 192856382 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275496 bytes 5945211586 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373049 bytes 73501533 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373049 bytes 73501533 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131080 bytes 192861464 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275529 bytes 5945216280 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373065 bytes 73502655 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373065 bytes 73502655 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131106 bytes 192867637 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275569 bytes 5945221673 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373095 bytes 73505899 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373095 bytes 73505899 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131140 bytes 192877570 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275620 bytes 5945228636 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373127 bytes 73508171 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373127 bytes 73508171 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131160 bytes 192882704 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275656 bytes 5945233604 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373153 bytes 73510027 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373153 bytes 73510027 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131192 bytes 192892470 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275704 bytes 5945240354 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373181 bytes 73512003 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373181 bytes 73512003 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131211 bytes 192897603 (192.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275741 bytes 5945245430 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373205 bytes 73513719 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373205 bytes 73513719 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131240 bytes 192904024 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275781 bytes 5945250943 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373249 bytes 73517769 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373249 bytes 73517769 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131308 bytes 192921831 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275880 bytes 5945267320 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373309 bytes 73521933 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373309 bytes 73521933 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131326 bytes 192926865 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275911 bytes 5945272005 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373327 bytes 73523195 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373327 bytes 73523195 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131356 bytes 192936427 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275962 bytes 5945278985 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373363 bytes 73525777 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373363 bytes 73525777 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131377 bytes 192941613 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4275994 bytes 5945283657 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373383 bytes 73527167 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373383 bytes 73527167 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131400 bytes 192947638 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276035 bytes 5945289084 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373415 bytes 73530539 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373415 bytes 73530539 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131429 bytes 192957092 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276081 bytes 5945295686 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373443 bytes 73532515 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373443 bytes 73532515 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131449 bytes 192962226 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276116 bytes 5945300580 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373469 bytes 73534371 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373469 bytes 73534371 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131479 bytes 192971732 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276161 bytes 5945307128 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373497 bytes 73536347 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373497 bytes 73536347 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131497 bytes 192976741 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276196 bytes 5945312037 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373521 bytes 73538085 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373521 bytes 73538085 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131525 bytes 192983195 (192.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276236 bytes 5945317407 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373553 bytes 73541467 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373553 bytes 73541467 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131598 bytes 193001383 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276342 bytes 5945334423 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373627 bytes 73546471 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373627 bytes 73546471 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131618 bytes 193006485 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276377 bytes 5945339364 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373645 bytes 73547721 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373645 bytes 73547721 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131650 bytes 193016226 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276430 bytes 5945346479 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373681 bytes 73550303 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373681 bytes 73550303 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131668 bytes 193021306 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276460 bytes 5945351053 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373697 bytes 73551425 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373697 bytes 73551425 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131694 bytes 193027550 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276502 bytes 5945356545 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373727 bytes 73554669 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373727 bytes 73554669 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131724 bytes 193037112 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276550 bytes 5945363303 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373757 bytes 73556785 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373757 bytes 73556785 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131746 bytes 193042389 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276586 bytes 5945368266 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373785 bytes 73558807 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373785 bytes 73558807 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131776 bytes 193051871 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276633 bytes 5945374930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373813 bytes 73560783 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373813 bytes 73560783 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131795 bytes 193056945 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276665 bytes 5945379622 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373837 bytes 73562499 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373837 bytes 73562499 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131821 bytes 193063242 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276708 bytes 5945385193 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373869 bytes 73565893 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373869 bytes 73565893 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131893 bytes 193081272 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276807 bytes 5945401558 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373942 bytes 73570860 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373942 bytes 73570860 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131912 bytes 193086326 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276843 bytes 5945406713 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373958 bytes 73571982 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373958 bytes 73571982 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131943 bytes 193095940 (193.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276891 bytes 5945413511 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 373994 bytes 73574564 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 373994 bytes 73574564 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131962 bytes 193100990 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276923 bytes 5945418187 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374012 bytes 73575814 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374012 bytes 73575814 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2131985 bytes 193107019 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4276960 bytes 5945423354 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374042 bytes 73579058 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374042 bytes 73579058 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132014 bytes 193116531 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277009 bytes 5945430200 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374072 bytes 73581190 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374072 bytes 73581190 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132032 bytes 193121553 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277037 bytes 5945434612 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374090 bytes 73582440 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374090 bytes 73582440 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132062 bytes 193131210 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277087 bytes 5945441569 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374128 bytes 73585150 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374128 bytes 73585150 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132083 bytes 193136442 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277122 bytes 5945446447 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374146 bytes 73586400 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374146 bytes 73586400 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132110 bytes 193142809 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277165 bytes 5945452052 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374184 bytes 73590260 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374184 bytes 73590260 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132148 bytes 193152956 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277225 bytes 5945459894 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374237 bytes 73593831 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374237 bytes 73593831 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132204 bytes 193166218 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277303 bytes 5945473816 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374274 bytes 73596399 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374274 bytes 73596399 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132231 bytes 193175592 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277350 bytes 5945480555 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374308 bytes 73598841 (73.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374308 bytes 73598841 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132249 bytes 193180614 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277384 bytes 5945485391 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374326 bytes 73600091 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374326 bytes 73600091 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132273 bytes 193186719 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277421 bytes 5945490514 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374352 bytes 73602997 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374352 bytes 73602997 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132302 bytes 193196197 (193.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277470 bytes 5945497378 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374388 bytes 73605579 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374388 bytes 73605579 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132321 bytes 193201283 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277499 bytes 5945501864 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374406 bytes 73606841 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374406 bytes 73606841 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132353 bytes 193210869 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277550 bytes 5945508802 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374440 bytes 73609283 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374440 bytes 73609283 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132372 bytes 193215899 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277580 bytes 5945513333 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374456 bytes 73610405 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374456 bytes 73610405 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132401 bytes 193222368 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277626 bytes 5945519089 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374496 bytes 73614371 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374496 bytes 73614371 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132432 bytes 193232219 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277678 bytes 5945526253 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374533 bytes 73616900 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374533 bytes 73616900 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132495 bytes 193246023 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277774 bytes 5945541780 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374590 bytes 73620803 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374590 bytes 73620803 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132522 bytes 193255472 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277820 bytes 5945548498 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374618 bytes 73622779 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374618 bytes 73622779 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132539 bytes 193260442 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277855 bytes 5945553427 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374642 bytes 73624495 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374642 bytes 73624495 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132565 bytes 193266800 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277891 bytes 5945558540 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374668 bytes 73627401 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374668 bytes 73627401 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132595 bytes 193276338 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277942 bytes 5945565515 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374704 bytes 73629983 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374704 bytes 73629983 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132613 bytes 193281340 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4277970 bytes 5945569931 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374720 bytes 73631105 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374720 bytes 73631105 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132646 bytes 193291144 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278022 bytes 5945577038 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374758 bytes 73633841 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374758 bytes 73633841 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132664 bytes 193296122 (193.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278055 bytes 5945581752 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374774 bytes 73634963 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374774 bytes 73634963 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132691 bytes 193302492 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278097 bytes 5945587283 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374810 bytes 73638661 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374810 bytes 73638661 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132720 bytes 193311946 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278148 bytes 5945594195 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374838 bytes 73640637 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374838 bytes 73640637 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132782 bytes 193325601 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278235 bytes 5945608844 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374902 bytes 73644903 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374902 bytes 73644903 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132814 bytes 193335311 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278285 bytes 5945615865 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374934 bytes 73647147 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374934 bytes 73647147 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132832 bytes 193340289 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278323 bytes 5945620929 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374956 bytes 73648735 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374956 bytes 73648735 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132854 bytes 193346270 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278357 bytes 5945625874 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 374980 bytes 73651513 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 374980 bytes 73651513 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132884 bytes 193355810 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278409 bytes 5945632910 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375016 bytes 73654111 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375016 bytes 73654111 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132903 bytes 193360860 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278440 bytes 5945637512 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375034 bytes 73655361 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375034 bytes 73655361 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132935 bytes 193370522 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278489 bytes 5945644348 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375072 bytes 73658071 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375072 bytes 73658071 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132952 bytes 193375448 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278521 bytes 5945649028 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375088 bytes 73659193 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375088 bytes 73659193 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2132979 bytes 193381878 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278557 bytes 5945654142 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375120 bytes 73662587 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375120 bytes 73662587 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133011 bytes 193391641 (193.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278609 bytes 5945661240 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375154 bytes 73665029 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375154 bytes 73665029 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133073 bytes 193405279 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278695 bytes 5945675682 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375217 bytes 73669244 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375217 bytes 73669244 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133100 bytes 193414677 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278744 bytes 5945682685 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375245 bytes 73671220 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375245 bytes 73671220 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133119 bytes 193419790 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278783 bytes 5945687925 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375267 bytes 73672808 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375267 bytes 73672808 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133143 bytes 193425851 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278819 bytes 5945692986 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375291 bytes 73675586 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375291 bytes 73675586 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133172 bytes 193435337 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278868 bytes 5945699826 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375327 bytes 73678168 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375327 bytes 73678168 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133192 bytes 193440439 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278900 bytes 5945704502 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375345 bytes 73679418 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375345 bytes 73679418 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133223 bytes 193450041 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278943 bytes 5945710930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375375 bytes 73681522 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375375 bytes 73681522 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133239 bytes 193454939 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4278979 bytes 5945715898 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375397 bytes 73683110 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375397 bytes 73683110 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133268 bytes 193461461 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279018 bytes 5945721222 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375431 bytes 73686644 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375431 bytes 73686644 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133297 bytes 193470978 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279070 bytes 5945728291 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375471 bytes 73689526 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375471 bytes 73689526 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133319 bytes 193476284 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279107 bytes 5945733513 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375515 bytes 73692423 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375515 bytes 73692423 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133391 bytes 193494290 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279205 bytes 5945749761 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375566 bytes 73696011 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375566 bytes 73696011 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133413 bytes 193499611 (193.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279243 bytes 5945754899 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375592 bytes 73697867 (73.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375592 bytes 73697867 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133439 bytes 193505776 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279282 bytes 5945760182 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375616 bytes 73700645 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375616 bytes 73700645 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133470 bytes 193515487 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279330 bytes 5945766979 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375644 bytes 73702621 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375644 bytes 73702621 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133490 bytes 193520577 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279368 bytes 5945772027 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375670 bytes 73704477 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375670 bytes 73704477 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133522 bytes 193530263 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279416 bytes 5945778761 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375702 bytes 73706721 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375702 bytes 73706721 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133541 bytes 193535332 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279454 bytes 5945783860 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375726 bytes 73708475 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375726 bytes 73708475 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133569 bytes 193541810 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279493 bytes 5945789201 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375756 bytes 73711707 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375756 bytes 73711707 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133600 bytes 193551400 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279546 bytes 5945796277 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375792 bytes 73714289 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375792 bytes 73714289 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133618 bytes 193556402 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279577 bytes 5945800875 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375815 bytes 73715813 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375815 bytes 73715813 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133689 bytes 193574424 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279682 bytes 5945817805 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375884 bytes 73720531 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375884 bytes 73720531 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133706 bytes 193579350 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279713 bytes 5945822463 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375900 bytes 73721653 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375900 bytes 73721653 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133730 bytes 193585411 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279753 bytes 5945827820 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375930 bytes 73724897 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375930 bytes 73724897 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133762 bytes 193595107 (193.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279801 bytes 5945834580 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375964 bytes 73727297 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375964 bytes 73727297 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133780 bytes 193600109 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279836 bytes 5945839498 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 375986 bytes 73728885 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 375986 bytes 73728885 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133809 bytes 193609619 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279879 bytes 5945845934 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376016 bytes 73731001 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376016 bytes 73731001 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133827 bytes 193614597 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279913 bytes 5945850762 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376038 bytes 73732589 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376038 bytes 73732589 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133858 bytes 193621195 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4279956 bytes 5945856362 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376074 bytes 73736239 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376074 bytes 73736239 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133889 bytes 193630890 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280006 bytes 5945863301 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376106 bytes 73738547 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376106 bytes 73738547 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133911 bytes 193636261 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280043 bytes 5945868361 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376124 bytes 73739809 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376124 bytes 73739809 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133983 bytes 193654296 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280143 bytes 5945884949 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376196 bytes 73744698 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376196 bytes 73744698 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2133998 bytes 193659142 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280174 bytes 5945889691 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376212 bytes 73745820 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376212 bytes 73745820 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134023 bytes 193665314 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280212 bytes 5945894955 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376244 bytes 73749230 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376244 bytes 73749230 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134043 bytes 193670690 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280245 bytes 5945899717 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376262 bytes 73750480 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376262 bytes 73750480 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134072 bytes 193680176 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280295 bytes 5945906630 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376298 bytes 73753062 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376298 bytes 73753062 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134091 bytes 193685206 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280327 bytes 5945911268 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376314 bytes 73754184 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376314 bytes 73754184 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134124 bytes 193695007 (193.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280378 bytes 5945918284 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376350 bytes 73756754 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376350 bytes 73756754 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134147 bytes 193701096 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280416 bytes 5945923556 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376382 bytes 73760148 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376382 bytes 73760148 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134165 bytes 193706098 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280442 bytes 5945927823 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376400 bytes 73761420 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376400 bytes 73761420 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134195 bytes 193715679 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280492 bytes 5945934783 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376440 bytes 73764280 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376440 bytes 73764280 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134257 bytes 193729344 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280580 bytes 5945949381 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376504 bytes 73768586 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376504 bytes 73768586 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134286 bytes 193738854 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280629 bytes 5945956388 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376534 bytes 73770702 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376534 bytes 73770702 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134312 bytes 193745193 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280673 bytes 5945962165 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376568 bytes 73774252 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376568 bytes 73774252 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134329 bytes 193750119 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280703 bytes 5945966696 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376584 bytes 73775374 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376584 bytes 73775374 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134357 bytes 193759597 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280751 bytes 5945973490 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376622 bytes 73778084 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376622 bytes 73778084 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134376 bytes 193764804 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280786 bytes 5945978408 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376638 bytes 73779206 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376638 bytes 73779206 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134406 bytes 193774584 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280836 bytes 5945985266 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376666 bytes 73781182 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376666 bytes 73781182 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134434 bytes 193781099 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280883 bytes 5945991212 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376704 bytes 73785042 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376704 bytes 73785042 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134453 bytes 193786205 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280912 bytes 5945995694 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376724 bytes 73786432 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376724 bytes 73786432 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134479 bytes 193795527 (193.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280961 bytes 5946002570 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376758 bytes 73788874 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376758 bytes 73788874 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134500 bytes 193800729 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4280996 bytes 5946007640 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376799 bytes 73791554 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376799 bytes 73791554 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134566 bytes 193818478 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281090 bytes 5946023680 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376846 bytes 73794848 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376846 bytes 73794848 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134588 bytes 193824459 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281126 bytes 5946028825 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376870 bytes 73797626 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376870 bytes 73797626 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134606 bytes 193829481 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281161 bytes 5946033715 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376894 bytes 73799342 (73.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376894 bytes 73799342 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134635 bytes 193838991 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281208 bytes 5946040399 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376924 bytes 73801458 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376924 bytes 73801458 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134654 bytes 193844021 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281242 bytes 5946045227 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376946 bytes 73803046 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376946 bytes 73803046 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134682 bytes 193853447 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281287 bytes 5946051767 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 376974 bytes 73805022 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 376974 bytes 73805022 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134708 bytes 193859684 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281334 bytes 5946057594 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377010 bytes 73808720 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377010 bytes 73808720 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134731 bytes 193865266 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281367 bytes 5946062618 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377030 bytes 73810126 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377030 bytes 73810126 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134764 bytes 193875097 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281421 bytes 5946069864 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377072 bytes 73813148 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377072 bytes 73813148 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134784 bytes 193880245 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281455 bytes 5946074658 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377101 bytes 73815097 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377101 bytes 73815097 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134857 bytes 193898414 (193.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281558 bytes 5946091439 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377168 bytes 73819676 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377168 bytes 73819676 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134883 bytes 193904591 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281599 bytes 5946096898 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377192 bytes 73822454 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377192 bytes 73822454 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134903 bytes 193909649 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281633 bytes 5946101694 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377214 bytes 73824042 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377214 bytes 73824042 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134933 bytes 193919155 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281679 bytes 5946108284 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377242 bytes 73826018 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377242 bytes 73826018 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134952 bytes 193924217 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281714 bytes 5946113182 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377266 bytes 73827746 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377266 bytes 73827746 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2134983 bytes 193933795 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281761 bytes 5946119834 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377296 bytes 73829850 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377296 bytes 73829850 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135011 bytes 193940249 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281806 bytes 5946125574 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377332 bytes 73833548 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377332 bytes 73833548 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135030 bytes 193945279 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281835 bytes 5946130032 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377348 bytes 73834670 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377348 bytes 73834670 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135062 bytes 193954972 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281889 bytes 5946137185 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377390 bytes 73837680 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377390 bytes 73837680 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135081 bytes 193960002 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4281920 bytes 5946141791 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377406 bytes 73838802 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377406 bytes 73838802 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135155 bytes 193978262 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282022 bytes 5946158526 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377479 bytes 73843769 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377479 bytes 73843769 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135178 bytes 193984295 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282061 bytes 5946163937 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377503 bytes 73846547 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377503 bytes 73846547 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135200 bytes 193989631 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282098 bytes 5946169000 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377531 bytes 73848569 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377531 bytes 73848569 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135230 bytes 193999213 (193.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282145 bytes 5946175720 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377563 bytes 73850813 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377563 bytes 73850813 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135249 bytes 194004263 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282181 bytes 5946180652 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377589 bytes 73852679 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377589 bytes 73852679 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135282 bytes 194014133 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282229 bytes 5946187458 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377619 bytes 73854805 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377619 bytes 73854805 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135310 bytes 194020486 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282272 bytes 5946193005 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377657 bytes 73858665 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377657 bytes 73858665 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135331 bytes 194025640 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282307 bytes 5946197843 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377675 bytes 73859915 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377675 bytes 73859915 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135361 bytes 194035178 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282354 bytes 5946204495 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377705 bytes 73862031 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377705 bytes 73862031 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135378 bytes 194040104 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282388 bytes 5946209323 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377727 bytes 73863619 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377727 bytes 73863619 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135446 bytes 194057855 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282484 bytes 5946225448 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377801 bytes 73868639 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377801 bytes 73868639 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135469 bytes 194063888 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282527 bytes 5946231227 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377825 bytes 73871417 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377825 bytes 73871417 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135487 bytes 194068866 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282558 bytes 5946235833 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377849 bytes 73873133 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377849 bytes 73873133 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135515 bytes 194078288 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282605 bytes 5946242533 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377879 bytes 73875237 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377879 bytes 73875237 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135535 bytes 194083446 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282637 bytes 5946247237 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377905 bytes 73877093 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377905 bytes 73877093 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135563 bytes 194092872 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282682 bytes 5946253817 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377933 bytes 73879069 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377933 bytes 73879069 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135589 bytes 194099247 (194.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282723 bytes 5946259319 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377965 bytes 73882463 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377965 bytes 73882463 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135607 bytes 194104249 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282755 bytes 5946264031 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 377987 bytes 73884051 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 377987 bytes 73884051 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135635 bytes 194113695 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282800 bytes 5946270607 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378017 bytes 73886155 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378017 bytes 73886155 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135654 bytes 194118840 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282836 bytes 5946275617 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378043 bytes 73888039 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378043 bytes 73888039 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135690 bytes 194128913 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282894 bytes 5946283252 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378096 bytes 73891626 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378096 bytes 73891626 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135754 bytes 194143425 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4282984 bytes 5946298156 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378139 bytes 73895722 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378139 bytes 73895722 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135771 bytes 194148351 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283013 bytes 5946302646 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378155 bytes 73896844 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378155 bytes 73896844 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135798 bytes 194157721 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283064 bytes 5946309634 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378191 bytes 73899414 (73.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378191 bytes 73899414 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135818 bytes 194162835 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283095 bytes 5946314214 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378209 bytes 73900676 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378209 bytes 73900676 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135851 bytes 194172561 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283149 bytes 5946321904 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378247 bytes 73903386 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378247 bytes 73903386 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135878 bytes 194178930 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283189 bytes 5946327288 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378279 bytes 73906746 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378279 bytes 73906746 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135897 bytes 194183960 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283222 bytes 5946332041 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378301 bytes 73908334 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378301 bytes 73908334 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135928 bytes 194194030 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283269 bytes 5946339261 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378329 bytes 73910310 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378329 bytes 73910310 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135947 bytes 194199080 (194.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283303 bytes 5946344084 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378353 bytes 73912026 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378353 bytes 73912026 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2135976 bytes 194208590 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283350 bytes 5946350767 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378390 bytes 73914544 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378390 bytes 73914544 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136042 bytes 194223132 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283447 bytes 5946366243 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378455 bytes 73920090 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378455 bytes 73920090 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136061 bytes 194228218 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283477 bytes 5946370834 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378473 bytes 73921352 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378473 bytes 73921352 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136090 bytes 194237696 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283527 bytes 5946377764 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378507 bytes 73923794 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378507 bytes 73923794 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136108 bytes 194242718 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283556 bytes 5946382250 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378525 bytes 73925044 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378525 bytes 73925044 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136142 bytes 194252697 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283609 bytes 5946389443 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378565 bytes 73927904 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378565 bytes 73927904 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136174 bytes 194259568 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283657 bytes 5946395410 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378597 bytes 73931276 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378597 bytes 73931276 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136193 bytes 194264629 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283691 bytes 5946400225 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378621 bytes 73933014 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378621 bytes 73933014 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136223 bytes 194274167 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283740 bytes 5946407025 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378651 bytes 73935130 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378651 bytes 73935130 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136242 bytes 194279217 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283774 bytes 5946411829 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378675 bytes 73936846 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378675 bytes 73936846 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136272 bytes 194288699 (194.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283822 bytes 5946418535 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378703 bytes 73938822 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378703 bytes 73938822 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136341 bytes 194303736 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283919 bytes 5946434103 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378775 bytes 73944784 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378775 bytes 73944784 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136360 bytes 194308742 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4283949 bytes 5946438715 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378791 bytes 73945906 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378791 bytes 73945906 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136390 bytes 194318300 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284000 bytes 5946445699 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378829 bytes 73948616 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378829 bytes 73948616 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136407 bytes 194323226 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284030 bytes 5946450231 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378845 bytes 73949738 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378845 bytes 73949738 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136436 bytes 194332704 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284079 bytes 5946457067 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378879 bytes 73952180 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378879 bytes 73952180 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136460 bytes 194338857 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284118 bytes 5946462382 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378911 bytes 73955574 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378911 bytes 73955574 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136478 bytes 194343835 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284148 bytes 5946466914 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378933 bytes 73957162 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378933 bytes 73957162 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136507 bytes 194353365 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284196 bytes 5946473708 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378965 bytes 73959406 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378965 bytes 73959406 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136524 bytes 194358315 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284224 bytes 5946478124 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 378981 bytes 73960528 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 378981 bytes 73960528 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136556 bytes 194368035 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284276 bytes 5946485208 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379021 bytes 73963394 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379021 bytes 73963394 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136623 bytes 194382736 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284366 bytes 5946500126 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379090 bytes 73969122 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379090 bytes 73969122 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136641 bytes 194387915 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284399 bytes 5946505117 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379106 bytes 73970244 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379106 bytes 73970244 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136669 bytes 194397373 (194.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284443 bytes 5946511619 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379136 bytes 73972360 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379136 bytes 73972360 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136687 bytes 194402375 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284476 bytes 5946516405 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379158 bytes 73973948 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379158 bytes 73973948 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136718 bytes 194411957 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284521 bytes 5946522969 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379186 bytes 73975924 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379186 bytes 73975924 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136745 bytes 194418372 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284566 bytes 5946528750 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379226 bytes 73979912 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379226 bytes 73979912 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136763 bytes 194423374 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284593 bytes 5946533092 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379242 bytes 73981034 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379242 bytes 73981034 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136792 bytes 194432884 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284642 bytes 5946539972 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379278 bytes 73983616 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379278 bytes 73983616 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136811 bytes 194438116 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284671 bytes 5946544466 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379294 bytes 73984738 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379294 bytes 73984738 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136839 bytes 194447574 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284717 bytes 5946551132 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379330 bytes 73987320 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379330 bytes 73987320 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136865 bytes 194453827 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284758 bytes 5946556726 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379371 bytes 73991123 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379371 bytes 73991123 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136924 bytes 194467264 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284845 bytes 5946571247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379416 bytes 73994299 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379416 bytes 73994299 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136957 bytes 194476958 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284896 bytes 5946578736 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379446 bytes 73996403 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379446 bytes 73996403 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2136975 bytes 194481936 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284929 bytes 5946583490 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379468 bytes 73997991 (73.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379468 bytes 73997991 (73.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137006 bytes 194491570 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4284976 bytes 5946590190 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379500 bytes 74000235 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379500 bytes 74000235 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137031 bytes 194497811 (194.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285019 bytes 5946595801 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379536 bytes 74003933 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379536 bytes 74003933 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137052 bytes 194502997 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285050 bytes 5946600399 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379558 bytes 74005473 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379558 bytes 74005473 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137087 bytes 194513038 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285104 bytes 5946607647 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379596 bytes 74008193 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379596 bytes 74008193 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137109 bytes 194518244 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285138 bytes 5946612463 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379614 bytes 74009455 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379614 bytes 74009455 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137138 bytes 194527972 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285181 bytes 5946618899 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379642 bytes 74011431 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379642 bytes 74011431 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137161 bytes 194533977 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285223 bytes 5946624403 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379672 bytes 74014675 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379672 bytes 74014675 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137221 bytes 194547530 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285312 bytes 5946639261 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379735 bytes 74018965 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379735 bytes 74018965 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137249 bytes 194556976 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285360 bytes 5946646091 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379765 bytes 74021069 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379765 bytes 74021069 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137268 bytes 194562038 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285393 bytes 5946650841 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379789 bytes 74022797 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379789 bytes 74022797 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137299 bytes 194571652 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285438 bytes 5946657425 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379819 bytes 74024913 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379819 bytes 74024913 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137327 bytes 194578130 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285483 bytes 5946663150 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379855 bytes 74028611 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379855 bytes 74028611 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137346 bytes 194583160 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285515 bytes 5946667810 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379871 bytes 74029733 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379871 bytes 74029733 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137377 bytes 194592738 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285564 bytes 5946674590 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379901 bytes 74031837 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379901 bytes 74031837 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137394 bytes 194597664 (194.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285598 bytes 5946679418 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379923 bytes 74033425 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379923 bytes 74033425 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137424 bytes 194607260 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285642 bytes 5946685938 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379955 bytes 74035697 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379955 bytes 74035697 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137448 bytes 194613353 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285686 bytes 5946691582 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 379987 bytes 74039081 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 379987 bytes 74039081 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137498 bytes 194627156 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285766 bytes 5946703992 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380047 bytes 74043146 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380047 bytes 74043146 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137535 bytes 194636375 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285821 bytes 5946713217 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380074 bytes 74045016 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380074 bytes 74045016 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137565 bytes 194645979 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285866 bytes 5946719757 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380104 bytes 74047120 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380104 bytes 74047120 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137586 bytes 194651274 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285902 bytes 5946724793 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380130 bytes 74048992 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380130 bytes 74048992 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137612 bytes 194657529 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285938 bytes 5946729895 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380164 bytes 74052542 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380164 bytes 74052542 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137642 bytes 194667067 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4285990 bytes 5946736924 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380200 bytes 74055124 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380200 bytes 74055124 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137662 bytes 194672169 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286021 bytes 5946741505 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380218 bytes 74056374 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380218 bytes 74056374 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137692 bytes 194681731 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286072 bytes 5946748508 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380254 bytes 74058956 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380254 bytes 74058956 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137710 bytes 194686785 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286103 bytes 5946753137 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380274 bytes 74060346 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380274 bytes 74060346 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137733 bytes 194692818 (194.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286142 bytes 5946758442 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380304 bytes 74063590 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380304 bytes 74063590 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137780 bytes 194706278 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286212 bytes 5946769732 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380352 bytes 74066851 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380352 bytes 74066851 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137822 bytes 194715826 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286274 bytes 5946779731 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380398 bytes 74069974 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380398 bytes 74069974 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137850 bytes 194725252 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286318 bytes 5946786289 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380426 bytes 74071950 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380426 bytes 74071950 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137867 bytes 194730178 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286353 bytes 5946791191 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380448 bytes 74073538 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380448 bytes 74073538 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137894 bytes 194736637 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286391 bytes 5946796462 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380482 bytes 74077072 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380482 bytes 74077072 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137922 bytes 194746095 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286441 bytes 5946803396 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380518 bytes 74079654 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380518 bytes 74079654 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137944 bytes 194751463 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286473 bytes 5946808114 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380540 bytes 74081194 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380540 bytes 74081194 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137976 bytes 194761234 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286527 bytes 5946815297 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380582 bytes 74084204 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380582 bytes 74084204 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2137994 bytes 194766212 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286560 bytes 5946820011 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380598 bytes 74085326 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380598 bytes 74085326 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138020 bytes 194772456 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286603 bytes 5946825560 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380628 bytes 74088570 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380628 bytes 74088570 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138049 bytes 194781942 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286651 bytes 5946832326 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380661 bytes 74090858 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380661 bytes 74090858 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138110 bytes 194795613 (194.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286737 bytes 5946846941 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380722 bytes 74095028 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380722 bytes 74095028 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138140 bytes 194805163 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286781 bytes 5946853503 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380752 bytes 74097132 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380752 bytes 74097132 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138157 bytes 194810133 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286814 bytes 5946858293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380776 bytes 74098848 (74.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380776 bytes 74098848 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138184 bytes 194816526 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286854 bytes 5946863694 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380810 bytes 74102370 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380810 bytes 74102370 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138215 bytes 194826116 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286902 bytes 5946870468 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380846 bytes 74104952 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380846 bytes 74104952 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138233 bytes 194831094 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286933 bytes 5946875074 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380862 bytes 74106074 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380862 bytes 74106074 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138262 bytes 194840822 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4286980 bytes 5946881798 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380896 bytes 74108516 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380896 bytes 74108516 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138280 bytes 194845800 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287015 bytes 5946886640 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380912 bytes 74109638 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380912 bytes 74109638 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138304 bytes 194851901 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287050 bytes 5946891654 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380938 bytes 74112544 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380938 bytes 74112544 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138334 bytes 194861407 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287100 bytes 5946898571 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 380972 bytes 74114986 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 380972 bytes 74114986 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138397 bytes 194875152 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287188 bytes 5946913331 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381034 bytes 74119136 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381034 bytes 74119136 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138429 bytes 194884940 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287236 bytes 5946920215 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381066 bytes 74121380 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381066 bytes 74121380 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138449 bytes 194890296 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287274 bytes 5946925335 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381088 bytes 74122968 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381088 bytes 74122968 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138479 bytes 194896947 (194.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287316 bytes 5946930894 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381124 bytes 74126658 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381124 bytes 74126658 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138507 bytes 194906490 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287362 bytes 5946937573 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381160 bytes 74129256 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381160 bytes 74129256 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138523 bytes 194911388 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287394 bytes 5946942285 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381176 bytes 74130378 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381176 bytes 74130378 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138556 bytes 194921126 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287443 bytes 5946949097 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381208 bytes 74132622 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381208 bytes 74132622 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138575 bytes 194926295 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287479 bytes 5946954116 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381232 bytes 74134350 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381232 bytes 74134350 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138599 bytes 194932400 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287515 bytes 5946959196 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381258 bytes 74137256 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381258 bytes 74137256 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138629 bytes 194941997 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287569 bytes 5946966368 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381294 bytes 74139838 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381294 bytes 74139838 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138670 bytes 194951368 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287638 bytes 5946976873 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381345 bytes 74143230 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381345 bytes 74143230 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138719 bytes 194964998 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287709 bytes 5946988144 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381384 bytes 74145954 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381384 bytes 74145954 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138736 bytes 194969924 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287738 bytes 5946992602 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381400 bytes 74147076 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381400 bytes 74147076 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138763 bytes 194976293 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287784 bytes 5946998457 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381438 bytes 74150902 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381438 bytes 74150902 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138792 bytes 194985803 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287830 bytes 5947005075 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381468 bytes 74153018 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381468 bytes 74153018 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138810 bytes 194990829 (194.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287865 bytes 5947010005 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381490 bytes 74154606 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381490 bytes 74154606 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138842 bytes 195000592 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287911 bytes 5947016644 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381518 bytes 74156582 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381518 bytes 74156582 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138861 bytes 195005736 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287948 bytes 5947021716 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381542 bytes 74158320 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381542 bytes 74158320 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138883 bytes 195011713 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4287982 bytes 5947026661 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381566 bytes 74161098 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381566 bytes 74161098 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138912 bytes 195021187 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288031 bytes 5947033508 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381602 bytes 74163668 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381602 bytes 74163668 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138948 bytes 195030285 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288089 bytes 5947043043 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381640 bytes 74166252 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381640 bytes 74166252 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2138998 bytes 195044128 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288165 bytes 5947054957 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381696 bytes 74170126 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381696 bytes 74170126 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139015 bytes 195049078 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288195 bytes 5947059573 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381712 bytes 74171248 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381712 bytes 74171248 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139042 bytes 195055504 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288242 bytes 5947065454 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381750 bytes 74175086 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381750 bytes 74175086 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139069 bytes 195064898 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288287 bytes 5947072030 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381780 bytes 74177190 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381780 bytes 74177190 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139088 bytes 195070011 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288322 bytes 5947076927 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381802 bytes 74178778 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381802 bytes 74178778 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139115 bytes 195079385 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288366 bytes 5947083421 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381830 bytes 74180754 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381830 bytes 74180754 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139133 bytes 195084363 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288402 bytes 5947088357 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381852 bytes 74182342 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381852 bytes 74182342 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139159 bytes 195090560 (195.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288439 bytes 5947093488 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381878 bytes 74185260 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381878 bytes 74185260 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139189 bytes 195100118 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288488 bytes 5947100331 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381916 bytes 74187970 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381916 bytes 74187970 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139209 bytes 195105220 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288520 bytes 5947105006 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 381937 bytes 74189392 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 381937 bytes 74189392 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139281 bytes 195123376 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288622 bytes 5947121733 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382004 bytes 74193981 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382004 bytes 74193981 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139299 bytes 195128378 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288655 bytes 5947126534 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382020 bytes 74195103 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382020 bytes 74195103 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139326 bytes 195134799 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288698 bytes 5947132144 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382060 bytes 74199113 (74.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382060 bytes 74199113 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139358 bytes 195144495 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288747 bytes 5947138989 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382096 bytes 74201669 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382096 bytes 74201669 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139379 bytes 195149695 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288782 bytes 5947143876 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382122 bytes 74203553 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382122 bytes 74203553 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139406 bytes 195159069 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288826 bytes 5947150389 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382150 bytes 74205529 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382150 bytes 74205529 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139425 bytes 195164194 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288858 bytes 5947155111 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382176 bytes 74207423 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382176 bytes 74207423 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139447 bytes 195170175 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288896 bytes 5947160343 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382200 bytes 74210201 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382200 bytes 74210201 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139476 bytes 195179649 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288942 bytes 5947166959 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382230 bytes 74212305 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382230 bytes 74212305 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139497 bytes 195184859 (195.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4288978 bytes 5947171951 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382256 bytes 74214161 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382256 bytes 74214161 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139567 bytes 195202836 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289080 bytes 5947188668 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382326 bytes 74218922 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382326 bytes 74218922 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139586 bytes 195207886 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289114 bytes 5947193524 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382344 bytes 74220172 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382344 bytes 74220172 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139612 bytes 195214220 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289155 bytes 5947199000 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382382 bytes 74224032 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382382 bytes 74224032 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139640 bytes 195223896 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289205 bytes 5947205930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382410 bytes 74226008 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382410 bytes 74226008 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139661 bytes 195229106 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289236 bytes 5947210544 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382430 bytes 74227398 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382430 bytes 74227398 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139688 bytes 195238480 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289285 bytes 5947217400 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382464 bytes 74229840 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382464 bytes 74229840 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139708 bytes 195243739 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289319 bytes 5947222247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382480 bytes 74230962 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382480 bytes 74230962 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139734 bytes 195249975 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289362 bytes 5947227829 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382514 bytes 74234512 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382514 bytes 74234512 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139761 bytes 195259325 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289406 bytes 5947234310 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382542 bytes 74236488 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382542 bytes 74236488 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139781 bytes 195264407 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289443 bytes 5947239300 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382566 bytes 74238204 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382566 bytes 74238204 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139835 bytes 195278433 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289528 bytes 5947252026 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382631 bytes 74242616 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382631 bytes 74242616 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139874 bytes 195287627 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289582 bytes 5947261221 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382658 bytes 74244486 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382658 bytes 74244486 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139902 bytes 195294141 (195.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289624 bytes 5947266751 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382696 bytes 74248276 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382696 bytes 74248276 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139928 bytes 195303487 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289671 bytes 5947273511 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382724 bytes 74250300 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382724 bytes 74250300 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139945 bytes 195308437 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289699 bytes 5947277927 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382740 bytes 74251422 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382740 bytes 74251422 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139974 bytes 195317915 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289745 bytes 5947284597 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382776 bytes 74253992 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382776 bytes 74253992 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2139993 bytes 195323021 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289777 bytes 5947289281 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382796 bytes 74255382 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382796 bytes 74255382 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140019 bytes 195329349 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289818 bytes 5947294771 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382828 bytes 74258766 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382828 bytes 74258766 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140049 bytes 195338855 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289863 bytes 5947301326 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382856 bytes 74260742 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382856 bytes 74260742 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140068 bytes 195343885 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289896 bytes 5947306080 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382878 bytes 74262330 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382878 bytes 74262330 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140119 bytes 195357696 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4289971 bytes 5947317983 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382926 bytes 74265602 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382926 bytes 74265602 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140164 bytes 195367486 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290038 bytes 5947328344 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 382972 bytes 74268734 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 382972 bytes 74268734 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140191 bytes 195374014 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290078 bytes 5947333752 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383004 bytes 74272094 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383004 bytes 74272094 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140219 bytes 195383416 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290128 bytes 5947340670 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383038 bytes 74274536 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383038 bytes 74274536 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140237 bytes 195388418 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290156 bytes 5947345086 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383056 bytes 74275814 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383056 bytes 74275814 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140269 bytes 195398110 (195.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290206 bytes 5947352042 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383094 bytes 74278552 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383094 bytes 74278552 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140287 bytes 195403144 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290237 bytes 5947356676 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383112 bytes 74279814 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383112 bytes 74279814 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140311 bytes 195409261 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290278 bytes 5947362095 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383144 bytes 74283198 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383144 bytes 74283198 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140339 bytes 195418683 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290325 bytes 5947368786 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383174 bytes 74285302 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383174 bytes 74285302 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140359 bytes 195423797 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290358 bytes 5947373516 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383198 bytes 74287030 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383198 bytes 74287030 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140389 bytes 195433339 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290406 bytes 5947380369 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383229 bytes 74289178 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383229 bytes 74289178 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140445 bytes 195446547 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290489 bytes 5947394749 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383284 bytes 74292912 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383284 bytes 74292912 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140471 bytes 195452840 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290527 bytes 5947400042 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383316 bytes 74296306 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383316 bytes 74296306 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140502 bytes 195462533 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290578 bytes 5947407072 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383354 bytes 74299016 (74.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383354 bytes 74299016 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140520 bytes 195467511 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290608 bytes 5947411604 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383370 bytes 74300138 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383370 bytes 74300138 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140548 bytes 195476937 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290656 bytes 5947418366 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383404 bytes 74302580 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383404 bytes 74302580 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140565 bytes 195481863 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290688 bytes 5947423046 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383420 bytes 74303702 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383420 bytes 74303702 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140590 bytes 195488123 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290726 bytes 5947428293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383454 bytes 74307198 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383454 bytes 74307198 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140621 bytes 195498080 (195.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290782 bytes 5947435663 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383486 bytes 74309496 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383486 bytes 74309496 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140640 bytes 195503185 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290813 bytes 5947440283 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383502 bytes 74310618 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383502 bytes 74310618 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140670 bytes 195512691 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290865 bytes 5947447289 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383536 bytes 74313060 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383536 bytes 74313060 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140731 bytes 195525411 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290950 bytes 5947461937 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383599 bytes 74317313 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383599 bytes 74317313 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140763 bytes 195533118 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4290998 bytes 5947467916 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383631 bytes 74320707 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383631 bytes 74320707 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140792 bytes 195542624 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291048 bytes 5947474826 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383669 bytes 74323417 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383669 bytes 74323417 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140810 bytes 195547646 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291079 bytes 5947479460 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383687 bytes 74324667 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383687 bytes 74324667 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140839 bytes 195557124 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291121 bytes 5947485818 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383715 bytes 74326643 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383715 bytes 74326643 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140856 bytes 195562074 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291156 bytes 5947490732 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383737 bytes 74328231 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383737 bytes 74328231 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140881 bytes 195568259 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291193 bytes 5947495871 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383765 bytes 74331277 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383765 bytes 74331277 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140909 bytes 195577661 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291242 bytes 5947502722 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383799 bytes 74333719 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383799 bytes 74333719 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140926 bytes 195582611 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291270 bytes 5947507137 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383815 bytes 74334841 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383815 bytes 74334841 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140956 bytes 195592256 (195.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291323 bytes 5947514293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383851 bytes 74337423 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383851 bytes 74337423 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2140992 bytes 195601288 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291384 bytes 5947524271 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383898 bytes 74340582 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383898 bytes 74340582 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141041 bytes 195611956 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291450 bytes 5947534433 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383943 bytes 74344840 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383943 bytes 74344840 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141071 bytes 195621564 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291499 bytes 5947541226 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383971 bytes 74346816 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383971 bytes 74346816 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141088 bytes 195626490 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291533 bytes 5947546053 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 383993 bytes 74348404 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 383993 bytes 74348404 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141124 bytes 195636445 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291586 bytes 5947553116 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384027 bytes 74350804 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384027 bytes 74350804 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141142 bytes 195641399 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291622 bytes 5947558059 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384049 bytes 74352392 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384049 bytes 74352392 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141164 bytes 195647376 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291656 bytes 5947563003 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384073 bytes 74355170 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384073 bytes 74355170 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141194 bytes 195656961 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291709 bytes 5947570136 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384109 bytes 74357740 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384109 bytes 74357740 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141211 bytes 195661887 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291739 bytes 5947574668 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384125 bytes 74358862 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384125 bytes 74358862 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141239 bytes 195671321 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291787 bytes 5947581442 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384161 bytes 74361444 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384161 bytes 74361444 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141276 bytes 195680420 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291847 bytes 5947591042 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384195 bytes 74363722 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384195 bytes 74363722 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141327 bytes 195691356 (195.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291920 bytes 5947601896 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384251 bytes 74368686 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384251 bytes 74368686 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141356 bytes 195700830 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4291966 bytes 5947608574 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384281 bytes 74370790 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384281 bytes 74370790 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141376 bytes 195705888 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292001 bytes 5947613444 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384303 bytes 74372378 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384303 bytes 74372378 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141404 bytes 195715314 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292044 bytes 5947619876 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384331 bytes 74374354 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384331 bytes 74374354 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141421 bytes 195720272 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292079 bytes 5947624774 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384355 bytes 74376082 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384355 bytes 74376082 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141444 bytes 195726301 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292117 bytes 5947629979 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384379 bytes 74378860 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384379 bytes 74378860 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141477 bytes 195736212 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292174 bytes 5947637426 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384421 bytes 74381908 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384421 bytes 74381908 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141498 bytes 195741398 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292206 bytes 5947642097 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384441 bytes 74383298 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384441 bytes 74383298 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141531 bytes 195751213 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292256 bytes 5947648992 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384475 bytes 74385740 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384475 bytes 74385740 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141548 bytes 195756163 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292287 bytes 5947653630 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384494 bytes 74387034 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384494 bytes 74387034 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141618 bytes 195771005 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292384 bytes 5947669120 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384568 bytes 74393257 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384568 bytes 74393257 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141645 bytes 195780403 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292427 bytes 5947675644 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384596 bytes 74395233 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384596 bytes 74395233 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141668 bytes 195785752 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292466 bytes 5947680777 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384622 bytes 74397089 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384622 bytes 74397089 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141699 bytes 195795334 (195.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292513 bytes 5947687445 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384650 bytes 74399065 (74.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384650 bytes 74399065 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141716 bytes 195800308 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292546 bytes 5947692247 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384672 bytes 74400653 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384672 bytes 74400653 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141739 bytes 195806361 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292583 bytes 5947697410 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384698 bytes 74403559 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384698 bytes 74403559 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141767 bytes 195815787 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292630 bytes 5947704058 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384726 bytes 74405535 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384726 bytes 74405535 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141786 bytes 195820956 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292665 bytes 5947709002 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384750 bytes 74407263 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384750 bytes 74407263 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141816 bytes 195830518 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292709 bytes 5947715504 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384780 bytes 74409379 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384780 bytes 74409379 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141834 bytes 195835540 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292744 bytes 5947720434 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384804 bytes 74411095 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384804 bytes 74411095 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141905 bytes 195850705 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292844 bytes 5947736261 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384886 bytes 74417797 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384886 bytes 74417797 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141932 bytes 195860055 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292890 bytes 5947742943 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384914 bytes 74419773 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384914 bytes 74419773 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141951 bytes 195865238 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292924 bytes 5947747795 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384936 bytes 74421361 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384936 bytes 74421361 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141982 bytes 195874883 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4292975 bytes 5947754762 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384968 bytes 74423627 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384968 bytes 74423627 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2141999 bytes 195879833 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293005 bytes 5947759286 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 384984 bytes 74424749 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 384984 bytes 74424749 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142024 bytes 195886022 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293047 bytes 5947764795 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385018 bytes 74428261 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385018 bytes 74428261 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142053 bytes 195895496 (195.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293093 bytes 5947771413 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385048 bytes 74430365 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385048 bytes 74430365 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142071 bytes 195900506 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293128 bytes 5947776310 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385072 bytes 74432093 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385072 bytes 74432093 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142100 bytes 195909960 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293172 bytes 5947782784 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385100 bytes 74434069 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385100 bytes 74434069 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142116 bytes 195914834 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293207 bytes 5947787686 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385122 bytes 74435657 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385122 bytes 74435657 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142160 bytes 195925122 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293277 bytes 5947798409 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385187 bytes 74441193 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385187 bytes 74441193 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142212 bytes 195938928 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293349 bytes 5947809794 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385228 bytes 74444045 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385228 bytes 74444045 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142231 bytes 195943958 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293377 bytes 5947814186 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385246 bytes 74445307 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385246 bytes 74445307 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142264 bytes 195953759 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293431 bytes 5947821398 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385282 bytes 74447889 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385282 bytes 74447889 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142281 bytes 195958685 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293461 bytes 5947825930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385298 bytes 74449011 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385298 bytes 74449011 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142305 bytes 195964742 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293504 bytes 5947831473 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385328 bytes 74452255 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385328 bytes 74452255 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142334 bytes 195974216 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293550 bytes 5947838091 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385358 bytes 74454359 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385358 bytes 74454359 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142356 bytes 195979566 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293589 bytes 5947843307 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385386 bytes 74456409 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385386 bytes 74456409 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142387 bytes 195989277 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293639 bytes 5947850209 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385414 bytes 74458385 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385414 bytes 74458385 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142404 bytes 195994203 (195.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293673 bytes 5947855037 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385436 bytes 74459973 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385436 bytes 74459973 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142450 bytes 196004757 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293745 bytes 5947865682 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385486 bytes 74464527 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385486 bytes 74464527 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142505 bytes 196018931 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293823 bytes 5947877735 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385542 bytes 74468363 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385542 bytes 74468363 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142523 bytes 196023965 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293853 bytes 5947882347 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385560 bytes 74469625 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385560 bytes 74469625 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142555 bytes 196033575 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293906 bytes 5947889407 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385594 bytes 74472067 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385594 bytes 74472067 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142572 bytes 196038525 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293936 bytes 5947893951 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385610 bytes 74473189 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385610 bytes 74473189 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142596 bytes 196044626 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4293976 bytes 5947899328 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385642 bytes 74476561 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385642 bytes 74476561 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142625 bytes 196054124 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294022 bytes 5947905978 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385672 bytes 74478665 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385672 bytes 74478665 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142646 bytes 196059393 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294057 bytes 5947910885 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385698 bytes 74480521 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385698 bytes 74480521 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142677 bytes 196069027 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294104 bytes 5947917603 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385730 bytes 74482765 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385730 bytes 74482765 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142694 bytes 196073977 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294133 bytes 5947922100 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385752 bytes 74484353 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385752 bytes 74484353 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142724 bytes 196080740 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294175 bytes 5947928149 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385785 bytes 74487757 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385785 bytes 74487757 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142795 bytes 196098691 (196.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294277 bytes 5947944879 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385857 bytes 74492704 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385857 bytes 74492704 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142812 bytes 196103693 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294309 bytes 5947949634 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385877 bytes 74494094 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385877 bytes 74494094 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142844 bytes 196113385 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294360 bytes 5947956607 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385913 bytes 74496686 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385913 bytes 74496686 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142862 bytes 196118363 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294393 bytes 5947961320 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385929 bytes 74497808 (74.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385929 bytes 74497808 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142887 bytes 196124550 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294432 bytes 5947966612 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385959 bytes 74501052 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385959 bytes 74501052 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142914 bytes 196133924 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294478 bytes 5947973265 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 385987 bytes 74503028 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 385987 bytes 74503028 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142935 bytes 196139134 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294510 bytes 5947977932 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386007 bytes 74504418 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386007 bytes 74504418 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142966 bytes 196148736 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294562 bytes 5947984966 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386043 bytes 74506988 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386043 bytes 74506988 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2142985 bytes 196153766 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294592 bytes 5947989498 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386059 bytes 74508110 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386059 bytes 74508110 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143012 bytes 196160192 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294636 bytes 5947995196 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386103 bytes 74512388 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386103 bytes 74512388 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143064 bytes 196174351 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294720 bytes 5948007939 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386166 bytes 74516643 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386166 bytes 74516643 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143102 bytes 196183545 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294773 bytes 5948016849 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386186 bytes 74518045 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386186 bytes 74518045 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143132 bytes 196193428 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294821 bytes 5948023682 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386222 bytes 74520615 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386222 bytes 74520615 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143149 bytes 196198378 (196.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294853 bytes 5948028395 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386238 bytes 74521737 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386238 bytes 74521737 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143172 bytes 196204411 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294888 bytes 5948033407 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386262 bytes 74524515 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386262 bytes 74524515 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143204 bytes 196214077 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294941 bytes 5948040540 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386298 bytes 74527097 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386298 bytes 74527097 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143224 bytes 196219443 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4294972 bytes 5948045160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386316 bytes 74528375 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386316 bytes 74528375 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143254 bytes 196229032 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295024 bytes 5948052230 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386354 bytes 74531111 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386354 bytes 74531111 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143274 bytes 196234223 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295056 bytes 5948056928 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386372 bytes 74532389 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386372 bytes 74532389 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143304 bytes 196241053 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295105 bytes 5948063065 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386410 bytes 74536249 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386410 bytes 74536249 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143353 bytes 196254721 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295184 bytes 5948075251 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386473 bytes 74540507 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386473 bytes 74540507 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143391 bytes 196263875 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295238 bytes 5948084419 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386500 bytes 74542377 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386500 bytes 74542377 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143421 bytes 196273425 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295282 bytes 5948090922 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386530 bytes 74544481 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386530 bytes 74544481 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143439 bytes 196278435 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295318 bytes 5948095895 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386554 bytes 74546209 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386554 bytes 74546209 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143461 bytes 196284412 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295352 bytes 5948100841 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386578 bytes 74548987 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386578 bytes 74548987 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143491 bytes 196294013 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295404 bytes 5948107959 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386612 bytes 74551429 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386612 bytes 74551429 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143512 bytes 196299199 (196.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295435 bytes 5948112557 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386632 bytes 74552819 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386632 bytes 74552819 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143544 bytes 196308865 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295487 bytes 5948119595 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386668 bytes 74555401 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386668 bytes 74555401 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143561 bytes 196313815 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295517 bytes 5948124160 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386684 bytes 74556523 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386684 bytes 74556523 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143588 bytes 196320177 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295559 bytes 5948129675 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386722 bytes 74560361 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386722 bytes 74560361 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143636 bytes 196333791 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295634 bytes 5948141327 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386763 bytes 74563245 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386763 bytes 74563245 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143677 bytes 196343171 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295694 bytes 5948151293 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386813 bytes 74566626 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386813 bytes 74566626 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143709 bytes 196352888 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295744 bytes 5948158235 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386847 bytes 74569020 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386847 bytes 74569020 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143728 bytes 196357938 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295780 bytes 5948163208 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386871 bytes 74570736 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386871 bytes 74570736 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143754 bytes 196364222 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295816 bytes 5948168305 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386897 bytes 74573642 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386897 bytes 74573642 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143786 bytes 196374160 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295873 bytes 5948175666 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386931 bytes 74576084 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386931 bytes 74576084 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143806 bytes 196379294 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295905 bytes 5948180338 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386951 bytes 74577474 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386951 bytes 74577474 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143836 bytes 196388824 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295952 bytes 5948187046 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 386985 bytes 74579916 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 386985 bytes 74579916 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143855 bytes 196393874 (196.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4295986 bytes 5948191871 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387003 bytes 74581166 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387003 bytes 74581166 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143882 bytes 196400223 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296026 bytes 5948197213 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387039 bytes 74584864 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387039 bytes 74584864 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143910 bytes 196409649 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296074 bytes 5948204016 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387070 bytes 74587012 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387070 bytes 74587012 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2143973 bytes 196423489 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296163 bytes 5948218988 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387127 bytes 74590852 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387127 bytes 74590852 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144004 bytes 196433103 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296211 bytes 5948225799 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387157 bytes 74592968 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387157 bytes 74592968 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144021 bytes 196438049 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296246 bytes 5948230698 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387181 bytes 74594684 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387181 bytes 74594684 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144046 bytes 196444162 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296284 bytes 5948235892 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387205 bytes 74597462 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387205 bytes 74597462 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144075 bytes 196453640 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296332 bytes 5948242655 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387239 bytes 74599904 (74.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387239 bytes 74599904 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144094 bytes 196458670 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296364 bytes 5948247335 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387255 bytes 74601026 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387255 bytes 74601026 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144122 bytes 196468096 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296408 bytes 5948253801 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387285 bytes 74603142 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387285 bytes 74603142 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144146 bytes 196473554 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296450 bytes 5948259751 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387317 bytes 74605470 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387317 bytes 74605470 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144174 bytes 196480075 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296490 bytes 5948265121 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387349 bytes 74608864 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387349 bytes 74608864 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144207 bytes 196489980 (196.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296544 bytes 5948272398 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387387 bytes 74611602 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387387 bytes 74611602 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144268 bytes 196503483 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296629 bytes 5948286930 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387447 bytes 74615612 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387447 bytes 74615612 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144293 bytes 196512753 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296675 bytes 5948293637 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387475 bytes 74617588 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387475 bytes 74617588 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144312 bytes 196517827 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296708 bytes 5948298380 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387499 bytes 74619304 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387499 bytes 74619304 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144337 bytes 196523964 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296745 bytes 5948303548 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387523 bytes 74622082 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387523 bytes 74622082 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144365 bytes 196533422 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296791 bytes 5948310167 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387553 bytes 74624198 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387553 bytes 74624198 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144382 bytes 196538348 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4296825 bytes 5948314995 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387575 bytes 74625786 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387575 bytes 74625786 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144875 bytes 196578739 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4297828 bytes 5949749854 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387611 bytes 74628290 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387611 bytes 74628290 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144896 bytes 196583716 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4297859 bytes 5949754459 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387631 bytes 74629710 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387631 bytes 74629710 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 85, in getAllInfosJetson insertInfoOnDB(user_up, port, hostname, basename, token, pause, nbr_pic_colors, space, lsblk, version, basefolder, host_fotonower, uptime, ip, public_ip, ram_cpu, uptime_day, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out',)) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144923 bytes 196589770 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4297892 bytes 5949759299 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387659 bytes 74632796 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387659 bytes 74632796 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2144948 bytes 196598487 (196.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4297924 bytes 5949763898 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387677 bytes 74634114 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387677 bytes 74634114 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2145283 bytes 196629786 (196.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4298640 bytes 5950755721 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387726 bytes 74637374 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387726 bytes 74637374 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2145748 bytes 196668119 (196.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4299641 bytes 5952188815 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387755 bytes 74639378 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387755 bytes 74639378 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2146216 bytes 196705353 (196.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4300632 bytes 5953637367 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387773 bytes 74640622 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387773 bytes 74640622 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2146696 bytes 196741845 (196.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4301643 bytes 5955101802 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387807 bytes 74644116 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387807 bytes 74644116 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2147310 bytes 196784764 (196.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4303024 bytes 5957133115 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387829 bytes 74645638 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387829 bytes 74645638 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2147734 bytes 196817680 (196.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4303912 bytes 5958421354 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387851 bytes 74647208 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387851 bytes 74647208 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2148167 bytes 196850884 (196.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4304840 bytes 5959778827 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387867 bytes 74648312 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387867 bytes 74648312 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2148492 bytes 196879488 (196.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4305541 bytes 5960779095 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387891 bytes 74650022 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387891 bytes 74650022 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2148810 bytes 196907692 (196.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4306256 bytes 5961792234 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387923 bytes 74653364 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387923 bytes 74653364 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2149117 bytes 196934344 (196.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4306938 bytes 5962771995 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387945 bytes 74654934 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387945 bytes 74654934 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2149451 bytes 196966043 (196.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4307644 bytes 5963754571 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 387972 bytes 74656780 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 387972 bytes 74656780 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2149813 bytes 196998787 (196.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4308412 bytes 5964826420 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388023 bytes 74660172 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388023 bytes 74660172 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2150211 bytes 197030173 (197.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4309242 bytes 5966033081 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388039 bytes 74661276 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388039 bytes 74661276 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2150545 bytes 197059085 (197.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4309980 bytes 5967083861 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388069 bytes 74664502 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388069 bytes 74664502 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2150853 bytes 197085810 (197.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4310658 bytes 5968060425 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388087 bytes 74665734 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388087 bytes 74665734 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2151372 bytes 197124252 (197.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4311642 bytes 5969494009 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388111 bytes 74667444 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388111 bytes 74667444 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2151744 bytes 197154317 (197.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4312563 bytes 5970836812 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388129 bytes 74668688 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388129 bytes 74668688 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2152099 bytes 197186254 (197.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4313345 bytes 5971955714 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388155 bytes 74670548 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388155 bytes 74670548 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2152474 bytes 197219551 (197.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4314131 bytes 5973075067 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388187 bytes 74673902 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388187 bytes 74673902 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2152896 bytes 197252925 (197.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4314907 bytes 5974199660 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388207 bytes 74675274 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388207 bytes 74675274 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2153223 bytes 197282866 (197.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4315623 bytes 5975218851 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388240 bytes 74677562 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388240 bytes 74677562 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2153603 bytes 197322812 (197.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4316441 bytes 5976304245 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388340 bytes 74688740 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388340 bytes 74688740 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2153973 bytes 197353702 (197.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4317236 bytes 5977452315 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388356 bytes 74689844 (74.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388356 bytes 74689844 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2154623 bytes 197406081 (197.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4318645 bytes 5979446944 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388493 bytes 74709738 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388493 bytes 74709738 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2155006 bytes 197436740 (197.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4319318 bytes 5980417178 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388511 bytes 74710982 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388511 bytes 74710982 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2155411 bytes 197477514 (197.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4320153 bytes 5981568410 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388630 bytes 74728654 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388630 bytes 74728654 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2155718 bytes 197504222 (197.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4320834 bytes 5982545039 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388648 bytes 74729898 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388648 bytes 74729898 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2156051 bytes 197539100 (197.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4321565 bytes 5983544136 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388767 bytes 74747356 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388767 bytes 74747356 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2156372 bytes 197567394 (197.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4322262 bytes 5984532755 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388805 bytes 74751198 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388805 bytes 74751198 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2156725 bytes 197603300 (197.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4322996 bytes 5985534862 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388913 bytes 74768120 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388913 bytes 74768120 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2157023 bytes 197629652 (197.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4323664 bytes 5986487556 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 388939 bytes 74769984 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 388939 bytes 74769984 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2157402 bytes 197670210 (197.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4324406 bytes 5987460333 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389091 bytes 74789645 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389091 bytes 74789645 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2157810 bytes 197705240 (197.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4325262 bytes 5988680430 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389118 bytes 74791497 (74.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389118 bytes 74791497 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2158276 bytes 197748269 (197.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4326355 bytes 5990213559 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389242 bytes 74810573 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389242 bytes 74810573 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2158753 bytes 197785969 (197.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4327401 bytes 5991736757 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389266 bytes 74812235 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389266 bytes 74812235 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2159250 bytes 197830180 (197.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4328510 bytes 5993302084 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389367 bytes 74828675 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389367 bytes 74828675 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2159728 bytes 197865700 (197.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4329572 bytes 5994854011 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389389 bytes 74830245 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389389 bytes 74830245 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2160285 bytes 197914304 (197.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4330611 bytes 5996310904 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389516 bytes 74848119 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389516 bytes 74848119 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2160563 bytes 197940364 (197.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4331287 bytes 5997261434 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389554 bytes 74851961 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389554 bytes 74851961 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2160928 bytes 197977614 (197.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4332054 bytes 5998314064 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389667 bytes 74869107 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389667 bytes 74869107 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2161280 bytes 198006623 (198.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4332809 bytes 5999405238 (5.9 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389691 bytes 74870805 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389691 bytes 74870805 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2161734 bytes 198053008 (198.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4333699 bytes 6000617753 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389830 bytes 74889548 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389830 bytes 74889548 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2162198 bytes 198093282 (198.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4334698 bytes 6002039962 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389870 bytes 74892280 (74.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389870 bytes 74892280 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2162639 bytes 198136913 (198.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4335554 bytes 6003213065 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 389997 bytes 74911430 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 389997 bytes 74911430 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2162924 bytes 198162454 (198.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4336268 bytes 6004237117 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390021 bytes 74913140 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390021 bytes 74913140 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2163346 bytes 198204332 (198.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4337066 bytes 6005322174 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390135 bytes 74930362 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390135 bytes 74930362 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2163761 bytes 198236708 (198.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4337802 bytes 6006381257 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390157 bytes 74931932 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390157 bytes 74931932 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2164129 bytes 198266579 (198.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4338596 bytes 6007534793 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390175 bytes 74933164 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390175 bytes 74933164 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2164772 bytes 198311904 (198.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4339995 bytes 6009572340 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390221 bytes 74937540 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390221 bytes 74937540 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2165074 bytes 198338354 (198.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4340674 bytes 6010551022 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390239 bytes 74938784 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390239 bytes 74938784 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2165417 bytes 198366980 (198.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4341345 bytes 6011513108 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390261 bytes 74940354 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390261 bytes 74940354 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2165861 bytes 198403917 (198.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4342273 bytes 6012832375 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390288 bytes 74942200 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390288 bytes 74942200 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2166216 bytes 198436245 (198.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4343023 bytes 6013878969 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390339 bytes 74945616 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390339 bytes 74945616 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2166528 bytes 198463967 (198.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4343685 bytes 6014821325 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390363 bytes 74948376 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390363 bytes 74948376 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2166550 bytes 198472489 (198.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4343717 bytes 6014825870 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390379 bytes 74949528 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390379 bytes 74949528 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2166831 bytes 198500003 (198.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4344375 bytes 6015767833 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390397 bytes 74950772 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390397 bytes 74950772 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2167159 bytes 198528555 (198.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4345121 bytes 6016840531 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390423 bytes 74952610 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390423 bytes 74952610 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2167479 bytes 198558111 (198.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4345779 bytes 6017785146 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390441 bytes 74953842 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390441 bytes 74953842 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2167822 bytes 198589801 (198.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4346567 bytes 6018903826 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390477 bytes 74957522 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390477 bytes 74957522 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2168174 bytes 198620997 (198.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4347355 bytes 6020044668 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390493 bytes 74958626 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390493 bytes 74958626 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2168556 bytes 198653733 (198.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4348026 bytes 6021011636 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390509 bytes 74959730 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390509 bytes 74959730 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2168873 bytes 198681024 (198.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4348709 bytes 6021987530 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390540 bytes 74961906 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390540 bytes 74961906 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2169218 bytes 198716191 (198.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4349443 bytes 6022967117 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390599 bytes 74965894 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390599 bytes 74965894 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2169617 bytes 198757456 (198.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4350176 bytes 6023953259 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390723 bytes 74984852 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390723 bytes 74984852 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2169938 bytes 198787050 (198.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4350863 bytes 6024933129 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390753 bytes 74986980 (74.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390753 bytes 74986980 (74.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2170450 bytes 198832022 (198.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4351899 bytes 6026383755 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390867 bytes 75004108 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390867 bytes 75004108 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2170926 bytes 198868355 (198.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4352947 bytes 6027912029 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 390893 bytes 75005946 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 390893 bytes 75005946 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2171353 bytes 198910383 (198.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4353998 bytes 6029383212 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391009 bytes 75023236 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391009 bytes 75023236 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2171854 bytes 198950200 (198.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4355074 bytes 6030948499 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391041 bytes 75026612 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391041 bytes 75026612 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2172278 bytes 198990584 (198.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4356064 bytes 6032324103 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391175 bytes 75045146 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391175 bytes 75045146 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2172614 bytes 199020946 (199.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4356804 bytes 6033391783 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391193 bytes 75046378 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391193 bytes 75046378 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2173317 bytes 199075296 (199.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4358297 bytes 6035528966 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391314 bytes 75064058 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391314 bytes 75064058 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2173722 bytes 199110285 (199.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4359080 bytes 6036626337 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391362 bytes 75067250 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391362 bytes 75067250 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2174121 bytes 199153614 (199.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4359852 bytes 6037648818 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391504 bytes 75087344 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391504 bytes 75087344 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2174541 bytes 199186221 (199.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4360746 bytes 6038954263 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391530 bytes 75089182 (75.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391530 bytes 75089182 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2174940 bytes 199224576 (199.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4361638 bytes 6040189974 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391647 bytes 75106572 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391647 bytes 75106572 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2175291 bytes 199253543 (199.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4362441 bytes 6041359884 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391663 bytes 75107676 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391663 bytes 75107676 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2175701 bytes 199293191 (199.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4363284 bytes 6042520206 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391788 bytes 75125624 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391788 bytes 75125624 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2176037 bytes 199322421 (199.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4364017 bytes 6043561602 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391824 bytes 75129278 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391824 bytes 75129278 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2176438 bytes 199361021 (199.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4364854 bytes 6044705417 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391947 bytes 75147062 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391947 bytes 75147062 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2176738 bytes 199389545 (199.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4365584 bytes 6045756224 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 391967 bytes 75148434 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 391967 bytes 75148434 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2177171 bytes 199430566 (199.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4366531 bytes 6047068005 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392093 bytes 75166410 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392093 bytes 75166410 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2177517 bytes 199462459 (199.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4367289 bytes 6048134185 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392131 bytes 75168938 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392131 bytes 75168938 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2177893 bytes 199503432 (199.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4368017 bytes 6049081704 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392271 bytes 75189072 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392271 bytes 75189072 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2178365 bytes 199538688 (199.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4368988 bytes 6050502379 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392289 bytes 75190304 (75.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392289 bytes 75190304 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2178834 bytes 199580599 (199.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4369874 bytes 6051730274 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392416 bytes 75208356 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392416 bytes 75208356 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2179126 bytes 199607261 (199.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4370543 bytes 6052688267 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392434 bytes 75209600 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392434 bytes 75209600 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2179474 bytes 199643033 (199.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4371320 bytes 6053740421 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392554 bytes 75227324 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392554 bytes 75227324 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2179776 bytes 199670308 (199.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4372034 bytes 6054758611 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392584 bytes 75230538 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392584 bytes 75230538 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2180135 bytes 199706632 (199.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4372822 bytes 6055831212 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392714 bytes 75248710 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392714 bytes 75248710 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2180426 bytes 199732478 (199.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4373512 bytes 6056828315 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392730 bytes 75249814 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392730 bytes 75249814 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2180827 bytes 199773433 (199.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4374335 bytes 6057948671 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392859 bytes 75268044 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392859 bytes 75268044 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2181376 bytes 199816570 (199.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4375353 bytes 6059402308 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 392888 bytes 75270056 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 392888 bytes 75270056 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2181903 bytes 199865488 (199.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4376484 bytes 6060957106 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393051 bytes 75291473 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393051 bytes 75291473 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2182392 bytes 199901650 (199.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4377530 bytes 6062493495 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393069 bytes 75292705 (75.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393069 bytes 75292705 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2182905 bytes 199945923 (199.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4378601 bytes 6063989244 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393193 bytes 75310505 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393193 bytes 75310505 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2183273 bytes 199975899 (199.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4379436 bytes 6065199081 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393213 bytes 75311877 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393213 bytes 75311877 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2183681 bytes 200014654 (200.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4380145 bytes 6066154675 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393334 bytes 75329653 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393334 bytes 75329653 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2184125 bytes 200049390 (200.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4380825 bytes 6067117599 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393364 bytes 75332867 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393364 bytes 75332867 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2184467 bytes 200084703 (200.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4381587 bytes 6068151498 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393492 bytes 75350947 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393492 bytes 75350947 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2184779 bytes 200111663 (200.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4382255 bytes 6069110843 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393510 bytes 75352179 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393510 bytes 75352179 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2185154 bytes 200148633 (200.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4383021 bytes 6070164342 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393626 bytes 75369445 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393626 bytes 75369445 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2185478 bytes 200176241 (200.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4383743 bytes 6071198055 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393653 bytes 75371327 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393653 bytes 75371327 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2185946 bytes 200225339 (200.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4384666 bytes 6072404745 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393822 bytes 75393209 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393822 bytes 75393209 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2186263 bytes 200254771 (200.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4385429 bytes 6073503269 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393842 bytes 75394581 (75.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393842 bytes 75394581 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2186646 bytes 200292274 (200.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4386252 bytes 6074633596 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393967 bytes 75412505 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393967 bytes 75412505 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2187049 bytes 200323946 (200.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4387105 bytes 6075875879 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 393983 bytes 75413609 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 393983 bytes 75413609 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2187554 bytes 200367697 (200.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4387912 bytes 6076988188 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394105 bytes 75431377 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394105 bytes 75431377 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2187917 bytes 200398127 (200.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4388690 bytes 6078101428 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394141 bytes 75435053 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394141 bytes 75435053 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2188395 bytes 200440548 (200.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4389660 bytes 6079457106 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394264 bytes 75452707 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394264 bytes 75452707 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2188723 bytes 200468395 (200.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4390381 bytes 6080489789 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394288 bytes 75454405 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394288 bytes 75454405 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2189182 bytes 200509729 (200.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4391372 bytes 6081874459 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394414 bytes 75472191 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394414 bytes 75472191 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2189616 bytes 200543146 (200.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4392337 bytes 6083278007 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394436 bytes 75473761 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394436 bytes 75473761 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2190146 bytes 200592123 (200.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4393453 bytes 6084810330 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394596 bytes 75495016 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394596 bytes 75495016 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2190646 bytes 200637812 (200.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4394519 bytes 6086332361 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394626 bytes 75497048 (75.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394626 bytes 75497048 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2191157 bytes 200682744 (200.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4395551 bytes 6087782815 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394746 bytes 75514582 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394746 bytes 75514582 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2191619 bytes 200717734 (200.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4396284 bytes 6088834698 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394768 bytes 75516152 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394768 bytes 75516152 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2192087 bytes 200760178 (200.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4397096 bytes 6089950217 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394883 bytes 75533366 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394883 bytes 75533366 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2192450 bytes 200791515 (200.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4397896 bytes 6091086463 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 394923 bytes 75537336 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 394923 bytes 75537336 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2192882 bytes 200833717 (200.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4398784 bytes 6092307819 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395040 bytes 75554654 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395040 bytes 75554654 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2193324 bytes 200868169 (200.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4399515 bytes 6093351920 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395066 bytes 75556492 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395066 bytes 75556492 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2193673 bytes 200903816 (200.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4400230 bytes 6094321224 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395187 bytes 75574042 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395187 bytes 75574042 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2194014 bytes 200933263 (200.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4400961 bytes 6095366683 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395211 bytes 75575778 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395211 bytes 75575778 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2194380 bytes 200975878 (200.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4401711 bytes 6096341555 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395357 bytes 75596127 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395357 bytes 75596127 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2194705 bytes 201007448 (201.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4402411 bytes 6097311077 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395397 bytes 75598859 (75.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395397 bytes 75598859 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2195074 bytes 201044344 (201.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4403136 bytes 6098292656 (6.0 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395515 bytes 75616325 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395515 bytes 75616325 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2195690 bytes 201087294 (201.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4404509 bytes 6100309635 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395543 bytes 75618313 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395543 bytes 75618313 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2196036 bytes 201122985 (201.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4405224 bytes 6101279650 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395660 bytes 75635667 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395660 bytes 75635667 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2196354 bytes 201151279 (201.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4405913 bytes 6102248158 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395696 bytes 75639347 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395696 bytes 75639347 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2196695 bytes 201186710 (201.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4406630 bytes 6103224152 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395819 bytes 75657049 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395819 bytes 75657049 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2197008 bytes 201214454 (201.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4407304 bytes 6104189538 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395843 bytes 75658747 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395843 bytes 75658747 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2197376 bytes 201253976 (201.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4408021 bytes 6105151975 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395967 bytes 75676465 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395967 bytes 75676465 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2197692 bytes 201283278 (201.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4408720 bytes 6106155377 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 395989 bytes 75678035 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 395989 bytes 75678035 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2198214 bytes 201331760 (201.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4409486 bytes 6107163958 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396123 bytes 75697647 (75.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396123 bytes 75697647 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2198664 bytes 201369039 (201.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4410195 bytes 6108148991 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396174 bytes 75701039 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396174 bytes 75701039 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2199067 bytes 201407577 (201.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4410995 bytes 6109249511 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396283 bytes 75718001 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396283 bytes 75718001 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2199459 bytes 201439439 (201.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4411769 bytes 6110366647 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396307 bytes 75719711 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396307 bytes 75719711 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2200055 bytes 201488780 (201.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4412821 bytes 6111838929 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396426 bytes 75737133 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396426 bytes 75737133 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2200501 bytes 201524521 (201.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4413834 bytes 6113302110 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396462 bytes 75740813 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396462 bytes 75740813 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2200866 bytes 201563274 (201.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4414626 bytes 6114386600 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396575 bytes 75758029 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396575 bytes 75758029 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2201239 bytes 201594088 (201.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4415317 bytes 6115380461 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396597 bytes 75759599 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396597 bytes 75759599 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2201747 bytes 201638830 (201.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4416139 bytes 6116506400 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396722 bytes 75777369 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396722 bytes 75777369 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2202286 bytes 201678324 (201.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4417120 bytes 6117941553 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396740 bytes 75778601 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396740 bytes 75778601 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2202732 bytes 201722076 (201.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4418037 bytes 6119198734 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396875 bytes 75798301 (75.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396875 bytes 75798301 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2203176 bytes 201764546 (201.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4418791 bytes 6120209956 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 396930 bytes 75802018 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 396930 bytes 75802018 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2203557 bytes 201801858 (201.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4419525 bytes 6121208025 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397050 bytes 75819492 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397050 bytes 75819492 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2203866 bytes 201829392 (201.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4420202 bytes 6122174214 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397080 bytes 75821620 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397080 bytes 75821620 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2204398 bytes 201875656 (201.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4421218 bytes 6123597838 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397198 bytes 75838944 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397198 bytes 75838944 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2204964 bytes 201916775 (201.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4422329 bytes 6125216175 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397230 bytes 75842320 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397230 bytes 75842320 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2205322 bytes 201955079 (201.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4423081 bytes 6126232835 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397355 bytes 75860244 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397355 bytes 75860244 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2205645 bytes 201983299 (201.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4423774 bytes 6127232165 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397371 bytes 75861348 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397371 bytes 75861348 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2206065 bytes 202023427 (202.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4424524 bytes 6128244611 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397502 bytes 75879584 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397502 bytes 75879584 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2206446 bytes 202056137 (202.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4425337 bytes 6129418595 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397520 bytes 75880816 (75.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397520 bytes 75880816 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2206888 bytes 202099679 (202.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4426251 bytes 6130668987 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397655 bytes 75900562 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397655 bytes 75900562 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2207311 bytes 202135547 (202.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4427141 bytes 6131932684 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397706 bytes 75903974 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397706 bytes 75903974 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2207738 bytes 202179353 (202.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4427987 bytes 6133068298 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397832 bytes 75921972 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397832 bytes 75921972 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2208115 bytes 202212153 (202.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4428803 bytes 6134250930 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397852 bytes 75923344 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397852 bytes 75923344 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2208450 bytes 202249329 (202.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4429528 bytes 6135227996 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 397981 bytes 75941500 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 397981 bytes 75941500 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2208856 bytes 202284328 (202.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4430391 bytes 6136466557 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398013 bytes 75944876 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398013 bytes 75944876 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2209334 bytes 202328860 (202.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4431413 bytes 6137895724 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398130 bytes 75962384 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398130 bytes 75962384 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2209763 bytes 202364094 (202.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4432413 bytes 6139355793 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398148 bytes 75963628 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398148 bytes 75963628 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2210253 bytes 202407979 (202.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4433504 bytes 6140881923 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398272 bytes 75981428 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398272 bytes 75981428 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2210817 bytes 202448267 (202.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4434573 bytes 6142446222 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398290 bytes 75982660 (75.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398290 bytes 75982660 (75.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2211339 bytes 202496092 (202.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4435682 bytes 6143989275 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398427 bytes 76002508 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398427 bytes 76002508 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2211812 bytes 202536747 (202.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4436730 bytes 6145492872 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398463 bytes 76004908 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398463 bytes 76004908 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2212179 bytes 202577213 (202.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4437548 bytes 6146572968 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398600 bytes 76023610 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398600 bytes 76023610 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2212482 bytes 202605841 (202.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4438204 bytes 6147515843 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398616 bytes 76024714 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398616 bytes 76024714 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2212901 bytes 202645113 (202.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4439110 bytes 6148769012 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398743 bytes 76042766 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398743 bytes 76042766 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2213331 bytes 202679839 (202.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4440165 bytes 6150304180 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398775 bytes 76046120 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398775 bytes 76046120 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2213785 bytes 202721407 (202.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4441204 bytes 6151751914 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398899 bytes 76064074 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398899 bytes 76064074 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2214231 bytes 202756019 (202.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4442215 bytes 6153232341 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 398915 bytes 76065178 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 398915 bytes 76065178 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2214747 bytes 202801033 (202.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4443291 bytes 6154738715 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399035 bytes 76082806 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399035 bytes 76082806 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2215207 bytes 202837843 (202.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4444316 bytes 6156235873 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399059 bytes 76084456 (76.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399059 bytes 76084456 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2215700 bytes 202882570 (202.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4445397 bytes 6157743590 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399175 bytes 76103046 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399175 bytes 76103046 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2215745 bytes 202892097 (202.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4445451 bytes 6157752532 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399200 bytes 76104742 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399200 bytes 76104742 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2216311 bytes 202942742 (202.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4446553 bytes 6159265667 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399350 bytes 76124242 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399350 bytes 76124242 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2216767 bytes 202977197 (202.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4447575 bytes 6160761716 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399370 bytes 76125614 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399370 bytes 76125614 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2217283 bytes 203022362 (203.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4448669 bytes 6162296753 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399490 bytes 76143278 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399490 bytes 76143278 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2217787 bytes 203060184 (203.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4449713 bytes 6163811609 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399522 bytes 76146620 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399522 bytes 76146620 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2218314 bytes 203105804 (203.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4450797 bytes 6165334850 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399645 bytes 76164404 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399645 bytes 76164404 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2218799 bytes 203142424 (203.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4451861 bytes 6166892623 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399661 bytes 76165508 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399661 bytes 76165508 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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 b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2219287 bytes 203187613 (203.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4452969 bytes 6168450594 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399786 bytes 76183468 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399786 bytes 76183468 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2219779 bytes 203224661 (203.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4454027 bytes 6170000512 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399804 bytes 76184700 (76.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399804 bytes 76184700 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2220292 bytes 203269623 (203.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4455128 bytes 6171546859 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399931 bytes 76203814 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399931 bytes 76203814 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2220801 bytes 203307602 (203.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4456184 bytes 6173082095 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 399962 bytes 76205990 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 399962 bytes 76205990 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2221440 bytes 203364962 (203.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4457331 bytes 6174636475 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400125 bytes 76226346 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400125 bytes 76226346 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2221947 bytes 203404232 (203.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4458379 bytes 6176171871 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400141 bytes 76227450 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400141 bytes 76227450 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2222446 bytes 203448538 (203.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4459475 bytes 6177713709 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400264 bytes 76245306 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400264 bytes 76245306 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2223206 bytes 203499963 (203.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4461170 bytes 6180200160 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400304 bytes 76249250 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400304 bytes 76249250 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2223645 bytes 203541296 (203.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4462066 bytes 6181441688 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400428 bytes 76266992 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400428 bytes 76266992 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2224021 bytes 203571537 (203.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4462880 bytes 6182619517 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400450 bytes 76268562 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400450 bytes 76268562 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2224512 bytes 203614574 (203.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4463608 bytes 6183609874 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400575 bytes 76286356 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400575 bytes 76286356 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2224809 bytes 203640742 (203.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4464295 bytes 6184592354 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400599 bytes 76288066 (76.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400599 bytes 76288066 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2225344 bytes 203687278 (203.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4465372 bytes 6186093135 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400733 bytes 76307590 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400733 bytes 76307590 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok b'Error on request' Token 035006c8a8acff541e6b264f3a90e0b8 is maybe invalid --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2225825 bytes 203723055 (203.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4466461 bytes 6187685346 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400755 bytes 76309160 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400755 bytes 76309160 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2226367 bytes 203772007 (203.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4467619 bytes 6189293668 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400907 bytes 76328783 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400907 bytes 76328783 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2226869 bytes 203811970 (203.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4468727 bytes 6190891040 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 400936 bytes 76330763 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400936 bytes 76330763 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2227374 bytes 203855597 (203.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4469856 bytes 6192495006 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401043 bytes 76347561 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401043 bytes 76347561 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2227858 bytes 203892395 (203.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4470963 bytes 6194100756 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401081 bytes 76351403 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401081 bytes 76351403 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2228396 bytes 203938490 (203.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4472107 bytes 6195717215 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401198 bytes 76368757 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401198 bytes 76368757 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2228969 bytes 203978977 (203.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4473205 bytes 6197323962 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401220 bytes 76370327 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401220 bytes 76370327 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2229477 bytes 204023915 (204.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4474283 bytes 6198840020 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401336 bytes 76387617 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401336 bytes 76387617 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2229813 bytes 204052161 (204.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4475040 bytes 6199929664 (6.1 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401360 bytes 76389327 (76.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401360 bytes 76389327 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2230127 bytes 204086822 (204.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4475789 bytes 6200937234 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401489 bytes 76408545 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401489 bytes 76408545 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2230464 bytes 204115803 (204.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4476540 bytes 6202018107 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401513 bytes 76410265 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401513 bytes 76410265 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2230873 bytes 204160079 (204.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4477374 bytes 6203133272 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401645 bytes 76428644 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401645 bytes 76428644 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2231335 bytes 204200205 (204.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4478452 bytes 6204676276 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401687 bytes 76431481 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401687 bytes 76431481 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2231828 bytes 204245709 (204.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4479503 bytes 6206149945 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401807 bytes 76448991 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401807 bytes 76448991 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2232317 bytes 204285060 (204.2 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4480572 bytes 6207689549 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401847 bytes 76452965 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401847 bytes 76452965 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2232829 bytes 204329962 (204.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4481666 bytes 6209230920 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401961 bytes 76470163 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401961 bytes 76470163 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2233296 bytes 204364959 (204.3 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4482715 bytes 6210766475 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 401983 bytes 76471733 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401983 bytes 76471733 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2233798 bytes 204409345 (204.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4483798 bytes 6212289159 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402103 bytes 76489243 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402103 bytes 76489243 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2234232 bytes 204443353 (204.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4484878 bytes 6213868094 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402125 bytes 76490813 (76.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402125 bytes 76490813 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2234715 bytes 204486805 (204.4 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4486010 bytes 6215457410 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402252 bytes 76509987 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402252 bytes 76509987 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2235106 bytes 204518611 (204.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4486918 bytes 6216779673 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402276 bytes 76511697 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402276 bytes 76511697 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2235492 bytes 204560365 (204.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4487738 bytes 6217874124 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402410 bytes 76530227 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402410 bytes 76530227 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2235919 bytes 204596471 (204.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4488548 bytes 6219012445 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402461 bytes 76533605 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402461 bytes 76533605 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2236335 bytes 204637931 (204.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4489294 bytes 6220026341 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402576 bytes 76550855 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402576 bytes 76550855 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2236675 bytes 204668005 (204.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4489989 bytes 6221005055 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402616 bytes 76554803 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402616 bytes 76554803 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2237036 bytes 204706805 (204.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4490714 bytes 6221984374 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402736 bytes 76572313 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402736 bytes 76572313 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2237588 bytes 204746557 (204.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4492040 bytes 6223921824 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402766 bytes 76574451 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402766 bytes 76574451 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2238072 bytes 204789365 (204.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4493071 bytes 6225364145 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402881 bytes 76591761 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402881 bytes 76591761 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2238395 bytes 204816884 (204.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4493771 bytes 6226373928 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 402905 bytes 76593471 (76.5 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402905 bytes 76593471 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2238663 bytes 204849162 (204.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4494307 bytes 6227058132 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403034 bytes 76612689 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403034 bytes 76612689 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2238865 bytes 204870358 (204.8 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4494738 bytes 6227662802 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403050 bytes 76613793 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403050 bytes 76613793 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2239155 bytes 204903071 (204.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4495339 bytes 6228451476 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403174 bytes 76631717 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403174 bytes 76631717 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2239477 bytes 204937428 (204.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4495967 bytes 6229283021 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403231 bytes 76635539 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403231 bytes 76635539 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2239782 bytes 204971424 (204.9 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4496595 bytes 6230115323 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403346 bytes 76652777 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403346 bytes 76652777 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2240080 bytes 205000746 (205.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4497183 bytes 6230933516 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403384 bytes 76656619 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403384 bytes 76656619 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2240314 bytes 205031086 (205.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4497666 bytes 6231550148 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403504 bytes 76674184 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403504 bytes 76674184 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-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:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2240577 bytes 205056438 (205.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4498152 bytes 6232233250 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403517 bytes 76675077 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403517 bytes 76675077 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2240864 bytes 205090948 (205.0 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4498787 bytes 6233075616 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403633 bytes 76692461 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403633 bytes 76692461 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2241076 bytes 205114838 (205.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4499226 bytes 6233686455 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403651 bytes 76693693 (76.6 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403651 bytes 76693693 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',) nb taken pictures : 0 outs: b'docker0: flags=4099 mtu 1500\n inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255\n ether 02:42:90:2a:ae:d6 txqueuelen 0 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\neth0: flags=4099 mtu 1500\n ether 48:b0:2d:d9:7c:29 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n device interrupt 150 base 0xe000 \n\neth1: flags=4163 mtu 1500\n inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255\n inet6 fe80::90b4:89e1:1323:722 prefixlen 64 scopeid 0x20\n ether 0c:5b:8f:27:9a:64 txqueuelen 1000 (Ethernet)\n RX packets 2241399 bytes 205150558 (205.1 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 4499770 bytes 6234379072 (6.2 GB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nlo: flags=73 mtu 65536\n inet 127.0.0.1 netmask 255.0.0.0\n inet6 ::1 prefixlen 128 scopeid 0x10\n loop txqueuelen 1 (Local Loopback)\n RX packets 403781 bytes 76713107 (76.7 MB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403781 bytes 76713107 (76.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/04/06/classify/new_classify.txt does not exist. All values set to 0. First part ok --- Logging error --- Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 40, in getAllInfosJetson nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/nano/.fotonower_config/06042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit msg = self.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 840, in format return fmt.format(record) File "/usr/lib/python3.6/logging/__init__.py", line 577, in format record.message = record.getMessage() File "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 403, in getAllInfosJetson(x.verbose, x.port, x.pause, x.user_up, x.basename, x.token, x.basefolder, x.host_fotonower, x.timeout, x.date, home) File "/home/nano/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 59, in getAllInfosJetson logger.info('ip: ', ip[:22]) Message: 'ip: ' Arguments: ('172.17.0.1-192.168.8.1',)